mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-21 15:50:07 +01:00
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:
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user