mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
12 lines
560 B
PowerShell
Executable File
12 lines
560 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 -- --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 -- --optimize --no-smt
|
|
if ( -not $? ) { throw "Optimized soltest run failed." } |