[llvm] [CI] Test lit when it is changed (PR #159359)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 17 06:50:00 PDT 2025


================
@@ -413,6 +413,30 @@ def test_third_party_benchmark(self):
             "check-cxx check-cxxabi check-unwind",
         )
 
+    def test_lit(self):
+        env_variables = compute_projects.get_env_variables(
+            ["llvm/utils/lit/CMakeLists.txt"], "Linux"
+        )
+        self.assertEqual(
+            env_variables["projects_to_build"],
+            "bolt;clang;clang-tools-extra;flang;lld;lldb;llvm;mlir;polly",
+        )
+        self.assertEqual(
+            env_variables["project_check_targets"],
+            "check-bolt check-clang check-clang-tools check-flang check-lit check-lld check-lldb check-llvm check-mlir check-polly",
----------------
nikic wrote:

I'm kind of confused by how we arrive at this list given the changes you made... Is there some kind of fallback for "test everything" involved here?

https://github.com/llvm/llvm-project/pull/159359


More information about the llvm-commits mailing list