diff options
Diffstat (limited to 'lldb')
-rw-r--r-- | lldb/lit/Suite/lldbtest.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lldb/lit/Suite/lldbtest.py b/lldb/lit/Suite/lldbtest.py index edabaac554e..16b0b2ed7e1 100644 --- a/lldb/lit/Suite/lldbtest.py +++ b/lldb/lit/Suite/lldbtest.py @@ -96,6 +96,10 @@ class LLDBTest(TestFormat): if exitCode: return lit.Test.FAIL, out + err + unexpected_test_line = 'XPASS' + if unexpected_test_line in out or unexpected_test_line in err: + return lit.Test.XPASS, '' + passing_test_line = 'RESULT: PASSED' if passing_test_line not in out and passing_test_line not in err: msg = ('Unable to find %r in dotest output:\n\n%s%s' % |