mirror of
https://github.com/Dasharo/zephyr.git
synced 2026-03-06 14:57:20 -08:00
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 <alberto.escolar.piedras@nordicsemi.no>
This commit is contained in:
committed by
Fabio Baltieri
parent
b06602c3f3
commit
dfe34ca03a
@@ -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}`)"
|
||||
|
||||
Reference in New Issue
Block a user