OSDN Git Service

[lit] Always list individual UNRESOLVED tests.
authorDaniel Dunbar <daniel@zuster.org>
Wed, 7 Aug 2013 23:10:05 +0000 (23:10 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Wed, 7 Aug 2013 23:10:05 +0000 (23:10 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187933 91177308-0d34-0410-b5e6-96231b3b80d8

utils/lit/lit/main.py

index c11f020..41c2a2f 100755 (executable)
@@ -400,9 +400,10 @@ def main(builtinParameters = {}):
         if t.result.isFailure:
             hasFailures = True
 
-    # FIXME: Show unresolved and (optionally) unsupported tests.
+    # Print each test in any of the failing groups.
     for title,code in (('Unexpected Passing Tests', lit.Test.XPASS),
-                       ('Failing Tests', lit.Test.FAIL)):
+                       ('Failing Tests', lit.Test.FAIL),
+                       ('Unresolved Tests', lit.Test.UNRESOLVED)):
         elts = byCode.get(code)
         if not elts:
             continue