Merge pull request #1668 from ethereum/build-test-progress

Show progress in test builds
This commit is contained in:
chriseth 2017-02-09 10:30:03 +01:00 committed by GitHub
commit 1b7bb371ee
3 changed files with 3 additions and 6 deletions

View File

@ -62,7 +62,7 @@ test_script:
- ps: Start-Sleep -s 100
- cd %APPVEYOR_BUILD_FOLDER%\build\test\%CONFIGURATION%
- copy "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\x86\Microsoft.VC140.CRT\msvc*.dll" .
- soltest.exe -- --ipcpath \\.\pipe\geth.ipc
- soltest.exe --show-progress -- --ipcpath \\.\pipe\geth.ipc
artifacts:
- path: solidity-windows.zip

View File

@ -62,9 +62,9 @@ echo "--> IPC available."
# And then run the Solidity unit-tests (once without optimization, once with),
# pointing to that IPC endpoint.
echo "--> Running tests without optimizer..."
"$REPO_ROOT"/build/test/soltest -- --ipcpath /tmp/test/geth.ipc && \
"$REPO_ROOT"/build/test/soltest --show-progress -- --ipcpath /tmp/test/geth.ipc && \
echo "--> Running tests WITH optimizer..." && \
"$REPO_ROOT"/build/test/soltest -- --optimize --ipcpath /tmp/test/geth.ipc
"$REPO_ROOT"/build/test/soltest --show-progress -- --optimize --ipcpath /tmp/test/geth.ipc
ERROR_CODE=$?
pkill eth || true
sleep 4

View File

@ -111,9 +111,6 @@ string IPCSocket::sendRequest(string const& _req)
if (!fSuccess)
BOOST_FAIL("ReadFile from pipe failed");
// This is needed for Appveyor, otherwise it may terminate
// the session due to the inactivity.
cerr << ".";
return returnStr;
#else
send(m_socket, _req.c_str(), _req.length(), 0);