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 5af21ad commit d92e17bCopy full SHA for d92e17b
llvm/test/lit.cfg.py
@@ -17,8 +17,13 @@
17
# name: The name of this test suite.
18
config.name = "LLVM"
19
20
+extra_substitutions = extra_substitutions = ([
21
+ (r"\| not FileCheck .*", "| tee /dev/null"),
22
+ (r"\| FileCheck .*", "| tee /dev/null")
23
+ ] if config.enable_profcheck else [])
24
+
25
# testFormat: The test format to use to interpret tests.
-config.test_format = lit.formats.ShTest(not llvm_config.use_lit_shell)
26
+config.test_format = lit.formats.ShTest(not llvm_config.use_lit_shell, extra_substitutions)
27
28
# suffixes: A list of file extensions to treat as test files. This is overriden
29
# by individual lit.local.cfg files in the test subdirectories.
0 commit comments