mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
13 lines
613 B
PowerShell
Executable File
13 lines
613 B
PowerShell
Executable File
$ErrorActionPreference = "Stop"
|
|
|
|
cd "$PSScriptRoot\.."
|
|
|
|
.\build\solc\Release\solc.exe --version
|
|
if ( -not $? ) { throw "Cannot execute solc --version." }
|
|
|
|
mkdir test_results
|
|
.\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." }
|
|
.\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." }
|