[llvm] [unittest] Add option to allow disabling sharding in unittest (PR #67063)

Petr Hosek via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 21 23:51:41 PDT 2023


================
@@ -19,7 +19,12 @@
 config.test_source_root = config.test_exec_root
 
 # testFormat: The test format to use to interpret tests.
-config.test_format = lit.formats.GoogleTest(config.llvm_build_mode, "Tests")
+config.test_format = lit.formats.GoogleTest(
----------------
petrhosek wrote:

I think that making this behavior configurable through a lit argument which could be set through `-DLLVM_LIT_ARGS=` would be cleaner.

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


More information about the llvm-commits mailing list