[PATCH] D18089: [lit] Hack lit to allow a test suite to request that it is run "early".

Chandler Carruth via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 11 10:20:16 PST 2016


chandlerc marked an inline comment as done.

================
Comment at: utils/lit/lit/main.py:370
@@ -369,3 +369,3 @@
     else:
-        run.tests.sort(key = lambda result_test: result_test.getFullName())
+        run.tests.sort(key = lambda t: (not t.isEarlyTest(), t.getFullName()))
 
----------------
Fantastic suggestion (but needed a "not")!


http://reviews.llvm.org/D18089





More information about the llvm-commits mailing list