mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-31 10:41:08 +00: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. Github-Pull: #34282 Rebased-From: 979d41bfab248990d7d520873d17fe52daa8d402
This commit is contained in:
parent
311da7fee3
commit
de79f7d01c
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user