From 979d41bfab248990d7d520873d17fe52daa8d402 Mon Sep 17 00:00:00 2001 From: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> Date: Wed, 14 Jan 2026 12:09:11 +0000 Subject: [PATCH] qa: Fix Windows logging bug The regex `(.*)` was capturing `\r` from subprocess output on Windows, causing the closing parenthesis in logs to wrap to the next line. Stripping whitespace from the regex match fixes the formatting. --- test/functional/test_runner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/functional/test_runner.py b/test/functional/test_runner.py index 425205b3a4a..3a2ad7dd601 100755 --- a/test/functional/test_runner.py +++ b/test/functional/test_runner.py @@ -809,7 +809,7 @@ class TestHandler: status = "Passed" elif proc.returncode == TEST_EXIT_SKIPPED: status = "Skipped" - skip_reason = re.search(r"Test Skipped: (.*)", stdout).group(1) + skip_reason = re.search(r"Test Skipped: (.*)", stdout).group(1).strip() else: status = "Failed"