change the logic in cmake_targets/autotests/run_exec_autotests.bash to run all runs of same test in //

This commit is contained in:
laurent
2022-11-09 18:58:09 +00:00
committed by Roberto Louro Magueta
parent 6ceaf084bc
commit 5ee6cf5de7
@@ -107,12 +107,16 @@ function test_run() {
echo "<EXECUTION LOG Test Case = $test_case_name.${tags_array[$tags_array_index]}, Run = $run_index >" >> "$temp_exec_log"
echo "Executing $main_exec $main_exec_args_array_index " >> "$temp_exec_log"
uname -a >> "$temp_exec_log"
"$main_exec" $main_exec_args_array_index >> "$temp_exec_log" 2>&1
"$main_exec" $main_exec_args_array_index >> "$temp_exec_log" 2>&1 &
done
wait
for (( run_index=1; run_index <= $nruns; run_index++ ))
do
echo "</EXECUTION LOG Test Case = $test_case_name.${tags_array[$tags_array_index]}, Run = $run_index >" >> $temp_exec_log 2>&1
cat $temp_exec_log >> $log_file 2>&1
result=PASS
for search_expr in "${search_expr_array[@]}"
do