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.
This commit is contained in:
Hennadii Stepanov 2026-01-14 12:09:11 +00:00
parent ac76d94117
commit 979d41bfab
No known key found for this signature in database
GPG Key ID: 410108112E7EA81F

View File

@ -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"