Skip to content

Commit 4c23a2b

Browse files
axicchriseth
authored andcommitted
Run constantinople tests with ABIEncoderV2 turned on
1 parent 4d2b1b0 commit 4c23a2b

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

scripts/tests.sh

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,14 @@ do
191191
for vm in $EVM_VERSIONS
192192
do
193193
printTask "--> Running tests using "$optimize" --evm-version "$vm"..."
194+
195+
# Run constantinople tests with ABIEncoderV2 turned on
196+
other_flags=""
197+
if [[ "$vm" == "constantinople" ]]
198+
then
199+
other_flags="--abiencoderv2"
200+
fi
201+
194202
log=""
195203
if [ -n "$log_directory" ]
196204
then
@@ -201,7 +209,8 @@ do
201209
log=--logger=JUNIT,test_suite,$log_directory/noopt_$vm.xml $testargs_no_opt
202210
fi
203211
fi
204-
"$REPO_ROOT"/build/test/soltest $progress $log -- --testpath "$REPO_ROOT"/test "$optimize" --evm-version "$vm" $SMT_FLAGS $IPC_FLAGS --ipcpath "${WORKDIR}/geth.ipc"
212+
213+
"$REPO_ROOT"/build/test/soltest $progress $log -- --testpath "$REPO_ROOT"/test "$optimize" --evm-version "$vm" $SMT_FLAGS $IPC_FLAGS $other_flags --ipcpath "${WORKDIR}/geth.ipc"
205214
done
206215
done
207216

0 commit comments

Comments
 (0)