zephyr/scripts/pylib
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
..
build_helpers scripts: pylib: build_helpers: flash_order fix 2023-10-10 15:55:58 +03:00
pytest-twister-harness hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
twister twister: Remove ANSI sequences before writing to handler.log 2024-03-28 06:50:55 -04:00