From de79f7d01ce43189006cadf08296672fb4d5d5ca 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. Github-Pull: #34282 Rebased-From: 979d41bfab248990d7d520873d17fe52daa8d402 --- 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 9d556d1cd7b..56522aa6ffd 100755 --- a/test/functional/test_runner.py +++ b/test/functional/test_runner.py @@ -765,7 +765,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" self.jobs.remove(job)