mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Run constantinople in regular and in force-abiv2 mode.
This commit is contained in:
parent
219406f45b
commit
5bbd65c5ca
@ -190,7 +190,20 @@ for optimize in "" "--optimize"
|
|||||||
do
|
do
|
||||||
for vm in $EVM_VERSIONS
|
for vm in $EVM_VERSIONS
|
||||||
do
|
do
|
||||||
printTask "--> Running tests using "$optimize" --evm-version "$vm"..."
|
FORCE_ABIV2_RUNS="no"
|
||||||
|
if [[ "$vm" == "constantinople" ]]
|
||||||
|
then
|
||||||
|
FORCE_ABIV2_RUNS="no yes" # run both in constantinople
|
||||||
|
fi
|
||||||
|
for abiv2 in $FORCE_ABIV2_RUNS
|
||||||
|
do
|
||||||
|
force_abiv2_flag=""
|
||||||
|
if [[ "$abiv2" == "yes" ]]
|
||||||
|
then
|
||||||
|
force_abiv2_flag="--abiencoderv2"
|
||||||
|
fi
|
||||||
|
printTask "--> Running tests using "$optimize" --evm-version "$vm" $force_abiv2_flag..."
|
||||||
|
|
||||||
log=""
|
log=""
|
||||||
if [ -n "$log_directory" ]
|
if [ -n "$log_directory" ]
|
||||||
then
|
then
|
||||||
@ -201,7 +214,9 @@ do
|
|||||||
log=--logger=JUNIT,test_suite,$log_directory/noopt_$vm.xml $testargs_no_opt
|
log=--logger=JUNIT,test_suite,$log_directory/noopt_$vm.xml $testargs_no_opt
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
"$REPO_ROOT"/build/test/soltest $progress $log -- --testpath "$REPO_ROOT"/test "$optimize" --evm-version "$vm" $SMT_FLAGS $IPC_FLAGS --ipcpath "${WORKDIR}/geth.ipc"
|
|
||||||
|
"$REPO_ROOT"/build/test/soltest $progress $log -- --testpath "$REPO_ROOT"/test "$optimize" --evm-version "$vm" $SMT_FLAGS $IPC_FLAGS $force_abiv2_flag --ipcpath "${WORKDIR}/geth.ipc"
|
||||||
|
done
|
||||||
done
|
done
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user