Andrew Leech
e067d96c8b
tests/run-tests.py: Add general newline normalization function.
...
Add a general normalize_newlines() function that handles newline variations
(\\r\\r\\n, \\r\\n) to \\n while preserving literal \\r characters that are
part of test content.
This provides a robust solution for cross-platform test compatibility,
particularly addressing PTY double-newline issues that can occur with some
terminal implementations.
The function is applied to all test output before comparison, eliminating
platform-specific newline issues.
Includes a unit test to verify the normalization behavior.
Signed-off-by: Andrew Leech <andrew.leech@planetinnovation.com.au >
2025-11-22 00:06:59 +11:00
..
2025-10-24 19:13:15 +02:00
2025-09-28 22:45:30 +10:00
2025-09-28 22:45:30 +10:00
2025-08-01 13:35:44 +10:00
2025-08-01 13:35:44 +10:00
2025-08-01 13:35:44 +10:00
2025-08-01 13:35:44 +10:00
2025-08-01 13:35:44 +10:00
2025-08-01 13:35:44 +10:00
2025-10-04 00:19:40 +10:00
2025-10-01 23:59:15 +10:00
2025-10-01 23:59:15 +10:00
2025-08-15 00:36:27 +10:00
2025-10-01 23:59:15 +10:00
2025-10-01 23:59:15 +10:00
2025-10-01 23:59:15 +10:00
2025-10-01 23:59:15 +10:00
2025-10-01 23:59:15 +10:00
2025-10-01 23:59:15 +10:00
2025-10-01 23:59:15 +10:00
2025-10-01 23:59:15 +10:00
2025-10-01 23:59:15 +10:00
2025-10-01 23:59:15 +10:00
2025-10-01 23:59:15 +10:00
2025-10-01 23:59:15 +10:00
2025-10-01 23:59:15 +10:00
2025-10-01 23:59:15 +10:00
2025-07-16 00:12:47 +10:00
2025-10-01 23:59:15 +10:00
2025-10-01 23:59:15 +10:00
2025-10-04 00:19:40 +10:00
2025-10-01 23:59:15 +10:00
2025-08-15 00:36:27 +10:00
2025-10-01 23:59:15 +10:00
2025-10-01 23:59:15 +10:00
2024-12-20 21:52:19 +11:00
2025-10-24 19:13:15 +02:00
2024-09-26 22:15:28 +10:00
2025-10-24 19:13:15 +02:00
2025-10-01 23:59:15 +10:00
2025-10-01 23:59:15 +10:00
2025-10-01 23:59:15 +10:00
2025-02-11 16:51:50 +11:00
2025-02-11 16:51:50 +11:00
2025-10-01 23:59:15 +10:00
2025-08-15 00:36:27 +10:00
2025-10-01 23:59:15 +10:00
2025-10-01 23:59:15 +10:00
2024-09-19 18:00:44 +10:00
2025-10-01 23:59:15 +10:00
2025-08-15 01:21:25 +10:00
2025-10-01 23:59:15 +10:00
2025-08-15 01:21:25 +10:00
2025-10-01 23:59:15 +10:00
2025-10-01 23:59:15 +10:00
2025-11-22 00:06:59 +11:00
2025-11-22 00:06:59 +11:00
2024-03-19 10:31:36 +11:00
2024-03-19 10:31:36 +11:00
2025-08-19 12:40:29 +10:00
2025-08-19 12:40:29 +10:00
2025-07-01 15:43:02 +10:00
2025-07-01 15:43:02 +10:00
2025-08-26 10:47:17 +10:00
2025-08-26 10:47:17 +10:00
2025-07-01 15:43:02 +10:00
2025-07-01 15:43:02 +10:00
2025-08-26 10:47:17 +10:00
2025-08-26 10:47:17 +10:00
2025-07-01 15:43:02 +10:00
2025-07-01 15:43:02 +10:00
2025-08-26 10:47:17 +10:00
2025-08-26 10:47:17 +10:00
2024-03-19 10:31:36 +11:00
2024-03-19 10:31:36 +11:00