tests/bsim/run_parallel: Avoid escape sequences in xml

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>
This commit is contained in:
Alberto Escolar Piedras 2024-06-11 14:28:02 +02:00 committed by Alberto Escolar
commit c11fccdadd

View file

@ -69,7 +69,7 @@ echo "Attempting to run ${n_cases} cases (logging to \
`realpath ${RESULTS_FILE}`)" `realpath ${RESULTS_FILE}`)"
export CLEAN_XML="sed -E -e 's/&/\&amp;/g' -e 's/</\&lt;/g' -e 's/>/\&gt;/g' \ 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 echo -n "" > $tmp_res_file