mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #1668 from ethereum/build-test-progress
Show progress in test builds
This commit is contained in:
commit
1b7bb371ee
@ -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
|
||||
|
@ -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
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user