Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion llvm/test/lit.cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,17 @@
config.name = "LLVM"

# testFormat: The test format to use to interpret tests.
config.test_format = lit.formats.ShTest(not llvm_config.use_lit_shell)
extra_substitutions = extra_substitutions = (
[
(r"\| not FileCheck .*", "> /dev/null"),
(r"\| FileCheck .*", "> /dev/null"),
]
if config.enable_profcheck
else []
)
config.test_format = lit.formats.ShTest(
not llvm_config.use_lit_shell, extra_substitutions
)

# suffixes: A list of file extensions to treat as test files. This is overriden
# by individual lit.local.cfg files in the test subdirectories.
Expand Down
Loading