[PATCH] D97046: [lit] Add "late_tests" test suite config option

James Henderson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 24 04:16:37 PST 2021


jhenderson added inline comments.


================
Comment at: llvm/utils/lit/lit/TestingConfig.py:130-133
         # List of tests to run early.
         self.early_tests = {}
+        # Regular expression for tests to run late.
+        self.late_tests = "^$"
----------------
Why are late tests a regular expression, but early tests a list? The inconsistency seems confusing to me.


================
Comment at: llvm/utils/lit/tests/late-tests.py:1
+## Check that we can run tests early.
+
----------------
You probably also want a test case showing the interaction between early and late tests (i.e. if both are set what happens, both in the case where they impact different sets, and where one test is specified in both).


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D97046/new/

https://reviews.llvm.org/D97046



More information about the llvm-commits mailing list