mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Added option to allow soltest in CI print errors to stderr in addition to the XML report.
This commit is contained in:
parent
fdc3c8eede
commit
90514d8893
@ -6,7 +6,7 @@ cd "$PSScriptRoot\.."
|
|||||||
if ( -not $? ) { throw "Cannot execute solc --version." }
|
if ( -not $? ) { throw "Cannot execute solc --version." }
|
||||||
|
|
||||||
mkdir test_results
|
mkdir test_results
|
||||||
.\build\test\Release\soltest.exe --color_output=no --show_progress=yes --logger=JUNIT,error,test_results/result.xml -- --no-smt
|
.\build\test\Release\soltest.exe --color_output=no --show_progress=yes --logger=JUNIT,error,test_results/result.xml --logger=HRF,error,stdout -- --no-smt
|
||||||
if ( -not $? ) { throw "Unoptimized soltest run failed." }
|
if ( -not $? ) { throw "Unoptimized soltest run failed." }
|
||||||
.\build\test\Release\soltest.exe --color_output=no --show_progress=yes --logger=JUNIT,error,test_results/result_opt.xml -- --optimize --no-smt
|
.\build\test\Release\soltest.exe --color_output=no --show_progress=yes --logger=JUNIT,error,test_results/result_opt.xml --logger=HRF,error,stdout -- --optimize --no-smt
|
||||||
if ( -not $? ) { throw "Optimized soltest run failed." }
|
if ( -not $? ) { throw "Optimized soltest run failed." }
|
@ -75,6 +75,7 @@ do
|
|||||||
"--color_output=no"
|
"--color_output=no"
|
||||||
"--show_progress=yes"
|
"--show_progress=yes"
|
||||||
"--logger=JUNIT,error,test_results/$(get_logfile_basename "$((CPUs * CIRCLE_NODE_INDEX + run))").xml"
|
"--logger=JUNIT,error,test_results/$(get_logfile_basename "$((CPUs * CIRCLE_NODE_INDEX + run))").xml"
|
||||||
|
"--logger=HRF,error,stdout"
|
||||||
"${BOOST_TEST_ARGS[@]}"
|
"${BOOST_TEST_ARGS[@]}"
|
||||||
)
|
)
|
||||||
SOLTEST_ARGS=("--evm-version=$EVM" "${SOLTEST_FLAGS[@]}")
|
SOLTEST_ARGS=("--evm-version=$EVM" "${SOLTEST_FLAGS[@]}")
|
||||||
|
Loading…
Reference in New Issue
Block a user