Skip to content

Commit

Permalink
[nrf fromtree] tests: bsim: run_parallel: Avoid escape sequences in xml
Browse files Browse the repository at this point in the history
Let's filter out escape sequences from the tests
output (for ex. color escapes) as those corrupt
the xml.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
(cherry picked from commit c11fccd)
  • Loading branch information
aescolar authored and rlubos committed Sep 11, 2024
1 parent eb350f8 commit 21646b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/bsim/run_parallel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ echo "Attempting to run ${n_cases} cases (logging to \
`realpath ${RESULTS_FILE}`)"

export CLEAN_XML="sed -E -e 's/&/\&amp;/g' -e 's/</\&lt;/g' -e 's/>/\&gt;/g' \
-e 's/\"/&quot;/g'"
-e 's/\"/&quot;/g' -e $'s/\x1b\[[0-9;]*[a-zA-Z]//g'"

echo -n "" > $tmp_res_file

Expand Down

0 comments on commit 21646b9

Please sign in to comment.