From 5ee6cf5de7d8fdbfb5ced964725b1c44198208ac Mon Sep 17 00:00:00 2001 From: laurent Date: Fri, 4 Nov 2022 15:47:34 +0100 Subject: [PATCH] change the logic in cmake_targets/autotests/run_exec_autotests.bash to run all runs of same test in // --- cmake_targets/autotests/run_exec_autotests.bash | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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