zephyr/scripts/pylib/twister
Tristan Honscheid 36ad49bd65 twister: Remove ANSI sequences before writing to handler.log
ANSI color is great for viewing output in a terminal, but currently it
also gets written out to the `handler.log` file. Text editors usually
don't render these, resulting in a hard-to-read file with a lot of
gibberish interspered. This commit strips ANSI sequences from lines
before writing them to the handler log file. This change does not
affect what is printed in Twister's console output, so one would still
see the colors there.

Signed-off-by: Tristan Honscheid <honscheid@google.com>
2024-03-28 06:50:55 -04:00
..
twisterlib twister: Remove ANSI sequences before writing to handler.log 2024-03-28 06:50:55 -04:00
expr_parser.py twister: Add dt_nodelabel_enabled devicetree filter function 2021-07-28 18:41:26 -04:00
scl.py twister: fix utf-8 encoding for device handler 2023-09-19 15:23:52 +01:00