zephyr/samples/subsys/testsuite
Thomas Günther c2d011f366 twister: fix shell prompt detection with VT100 colors disabled
Device adapter strips all whitespace from output lines causing test
failures when matching default shell prompt "uart:~$ " with trailing
space. Update _handle_device_output to only strip line endings (\r\n)
while preserving whitespace required for prompt detection.

A testcase sample.pytest.shell.no_vt100 was added to verify prompt
matching works with CONFIG_SHELL_VT100_COLORS disabled.

Signed-off-by: Thomas Günther <thomas.guenther@limatica.com>
2025-01-17 16:35:33 +01:00
..
integration samples: Enable any which runs in native_posix also in native_sim 2023-11-20 12:02:48 +01:00
pytest twister: fix shell prompt detection with VT100 colors disabled 2025-01-17 16:35:33 +01:00
testsuite.rst doc: samples: Adopt code-sample-category across tree 2024-09-23 12:00:00 +02:00