Skip to content

Commit 73f11f9

Browse files
committed
[lldb][test] Correct results regex for Windows
On Windows the line has \r\n at the end.
1 parent a5ccf85 commit 73f11f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/test/API/lldbtest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def execute(self, test, litConfig):
101101
# Example: "OK (skipped=1, expected failures=1)"
102102
# Example: "FAILED (failures=3)"
103103
# Example: "OK"
104-
result_regex = r"^(?:OK|FAILED)(?: \((.*)\))?$"
104+
result_regex = r"^(?:OK|FAILED)(?: \((.*)\))?\r?$"
105105
results = re.search(result_regex, err, re.MULTILINE)
106106

107107
# If parsing fails mark this test as unresolved.

0 commit comments

Comments
 (0)