Skip to content

Commit 1117488

Browse files
committed
Run constantinople tests with ABIEncoderV2 turned on
1 parent 3f3e874 commit 1117488

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
@@ -192,6 +192,14 @@ do
192192
for vm in $EVM_VERSIONS
193193
do
194194
printTask "--> Running tests using "$optimize" --evm-version "$vm"..."
195+
196+
# Run constantinople tests with ABIEncoderV2 turned on
197+
other_flags=""
198+
if [[ "$vm" == "constantinople" ]]
199+
then
200+
other_flags="--abiencoderv2"
201+
fi
202+
195203
log=""
196204
if [ -n "$log_directory" ]
197205
then
@@ -202,7 +210,8 @@ do
202210
log=--logger=JUNIT,test_suite,$log_directory/noopt_$vm.xml $testargs_no_opt
203211
fi
204212
fi
205-
"$REPO_ROOT"/build/test/soltest $progress $log -- --testpath "$REPO_ROOT"/test "$optimize" --evm-version "$vm" $SMT_FLAGS $IPC_FLAGS --ipcpath "${WORKDIR}/geth.ipc"
213+
214+
"$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"
206215
done
207216
done
208217

0 commit comments

Comments
 (0)