From dfe34ca03a16c21cdfe5ff196372df25a37cded8 Mon Sep 17 00:00:00 2001 From: Alberto Escolar Piedras Date: Thu, 28 Mar 2024 11:47:58 +0100 Subject: [PATCH] tests/bsim/run_parallel: Create folder for results xml if missing Create the folder for the results if it does not exist. Fixes these warnings in CI: ``` touch: cannot touch '/__w/zephyr/zephyr/./bsim_bt/ 53_bsim_results.xml': No such file or directory realpath: /__w/zephyr/zephyr/./bsim_bt/ 53_bsim_results.xml: No such file or directory ``` Signed-off-by: Alberto Escolar Piedras --- tests/bsim/run_parallel.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/bsim/run_parallel.sh b/tests/bsim/run_parallel.sh index 80e74512ef..cb9a3d4ed8 100755 --- a/tests/bsim/run_parallel.sh +++ b/tests/bsim/run_parallel.sh @@ -63,6 +63,8 @@ tmp_res_file=tmp.xml all_cases_a=( $all_cases ) n_cases=$((${#all_cases_a[@]})) + +mkdir -p $(dirname ${RESULTS_FILE}) touch ${RESULTS_FILE} echo "Attempting to run ${n_cases} cases (logging to \ `realpath ${RESULTS_FILE}`)"