[Lldb-commits] [PATCH] D68039: [lit] Do a better job at parsing unsupported tests.
Jonas Devlieghere via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Wed Sep 25 12:34:00 PDT 2019
This revision was automatically updated to reflect the committed changes.
JDevlieghere marked an inline comment as done.
Closed by commit rL372914: [lit] Do a better job at parsing unsupported tests. (authored by JDevlieghere, committed by ).
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Changed prior to commit:
CHANGES SINCE LAST ACTION
@@ -102,6 +102,11 @@
if 'XPASS:' in out or 'XPASS:' in err:
return lit.Test.XPASS, out + err
+ has_unsupported_tests = 'UNSUPPORTED:' in out or 'UNSUPPORTED:' in err
+ has_passing_tests = 'PASS:' in out or 'PASS:' in err
+ if has_unsupported_tests and not has_passing_tests:
+ return lit.Test.UNSUPPORTED, out + err
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 (exit code %d):\n\n%s%s'
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 766 bytes
Desc: not available
More information about the lldb-commits