diff options
author | Angus Gratton <angus@redyak.com.au> | 2025-07-29 10:45:58 +1000 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2025-07-31 11:17:13 +1000 |
commit | fdbd23268d69d77a411aa5c2d792eaf5e77d454a (patch) | |
tree | 1b08d7a8ce760fda98b4d505f97d7ee1bc4d11a4 /docs/esp8266 | |
parent | 4bdf2a2dc0b418aa014ef1c28b55a563f0c9f7e2 (diff) |
tests/run-multitests.py: Escape encoding errors instead of crashing.
It's possible for a test to output non-ASCII characters (for example, due
to a hard fault or serial noise or memory corruption). Rather than crashing
the test runner, backslash escape those characters and treat them as
program output.
Refactors the string encoding step to a single helper to avoid copy-paste.
This work was funded through GitHub Sponsors.
Signed-off-by: Angus Gratton <angus@redyak.com.au>
Diffstat (limited to 'docs/esp8266')
0 files changed, 0 insertions, 0 deletions