[llvm] [NFC][LLVM-Tests] Specialize test suite for LLVM unit tests (PR #161442)

Rahul Joshi via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 2 06:08:06 PDT 2025


================
@@ -0,0 +1,5 @@
+add_lit_testsuite(check-llvm-unit "Running lit suite for LLVM unit tests"
+  ${CMAKE_CURRENT_BINARY_DIR}
+  EXCLUDE_FROM_CHECK_ALL
----------------
jurahul wrote:

See similar PR for the earlier specialized suites: https://github.com/llvm/llvm-project/pull/159781

Without `EXCLUDE_FROM_CHECK_ALL`, these specialized test suites run twice, which is wasteful and sometimes leading to failure due to concurrent execution (which will likely not affect these unit tests).

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


More information about the llvm-commits mailing list