File tree Expand file tree Collapse file tree 1 file changed +25
-10
lines changed Expand file tree Collapse file tree 1 file changed +25
-10
lines changed Original file line number Diff line number Diff line change @@ -190,18 +190,33 @@ for optimize in "" "--optimize"
190190do
191191 for vm in $EVM_VERSIONS
192192 do
193- printTask " --> Running tests using " $optimize " --evm-version " $vm " ..."
194- log=" "
195- if [ -n " $log_directory " ]
193+ FORCE_ABIV2_RUNS=" no"
194+ if [[ " $vm " == " constantinople" ]]
196195 then
197- if [ -n " $optimize " ]
198- then
199- log=--logger=JUNIT,test_suite,$log_directory /opt_$vm .xml $testargs
200- else
201- log=--logger=JUNIT,test_suite,$log_directory /noopt_$vm .xml $testargs_no_opt
202- fi
196+ FORCE_ABIV2_RUNS=" no yes" # run both in constantinople
203197 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"
198+ for abiv2 in $FORCE_ABIV2_RUNS
199+ do
200+ force_abiv2_flag=" "
201+ if [[ " $abiv2 " == " yes" ]]
202+ then
203+ force_abiv2_flag=" --abiencoderv2"
204+ fi
205+ printTask " --> Running tests using " $optimize " --evm-version " $vm " $force_abiv2_flag ..."
206+
207+ log=" "
208+ if [ -n " $log_directory " ]
209+ then
210+ if [ -n " $optimize " ]
211+ then
212+ log=--logger=JUNIT,test_suite,$log_directory /opt_$vm .xml $testargs
213+ else
214+ log=--logger=JUNIT,test_suite,$log_directory /noopt_$vm .xml $testargs_no_opt
215+ fi
216+ fi
217+
218+ " $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"
219+ done
205220 done
206221done
207222
You can’t perform that action at this time.
0 commit comments