diff --git a/cmake_targets/autotests/run_exec_autotests.bash b/cmake_targets/autotests/run_exec_autotests.bash index fd5cc45e77..b894cf3288 100755 --- a/cmake_targets/autotests/run_exec_autotests.bash +++ b/cmake_targets/autotests/run_exec_autotests.bash @@ -107,12 +107,16 @@ function test_run() { echo "" >> "$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 "" >> $temp_exec_log 2>&1 cat $temp_exec_log >> $log_file 2>&1 - result=PASS for search_expr in "${search_expr_array[@]}" do