We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89e4d9f commit 5ffc407Copy full SHA for 5ffc407
llvm/test/lit.cfg.py
@@ -18,7 +18,17 @@
18
config.name = "LLVM"
19
20
# testFormat: The test format to use to interpret tests.
21
-config.test_format = lit.formats.ShTest(not llvm_config.use_lit_shell)
+extra_substitutions = extra_substitutions = (
22
+ [
23
+ (r"\| not FileCheck .*", "> /dev/null"),
24
+ (r"\| FileCheck .*", "> /dev/null"),
25
+ ]
26
+ if config.enable_profcheck
27
+ else []
28
+)
29
+config.test_format = lit.formats.ShTest(
30
+ not llvm_config.use_lit_shell, extra_substitutions
31
32
33
# suffixes: A list of file extensions to treat as test files. This is overriden
34
# by individual lit.local.cfg files in the test subdirectories.
0 commit comments