Skip to content
Merged
Show file tree
Hide file tree
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
18 changes: 10 additions & 8 deletions llvm/test/lit.cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,17 @@
# directories.
config.excludes = ["Inputs", "CMakeLists.txt", "README.txt", "LICENSE.txt"]

# Exclude llvm-reduce tests for profcheck because we substitute the FileCheck
# binary with a no-op command for profcheck, but llvm-reduce tests have RUN
# commands of the form llvm-reduce --test FileCheck, which explode if we
# substitute FileCheck because llvm-reduce expects FileCheck in these tests.
# It's not really possible to exclude these tests from the command substitution,
# so we just exclude llvm-reduce tests from this config altogether. This should
# be fine though as profcheck config tests are mostly concerned with opt.
if config.enable_profcheck:
config.excludes = config.excludes + ["llvm-reduce"]
# Exclude llvm-reduce tests for profcheck because we substitute the FileCheck
# binary with a no-op command for profcheck, but llvm-reduce tests have RUN
# commands of the form llvm-reduce --test FileCheck, which explode if we
# substitute FileCheck because llvm-reduce expects FileCheck in these tests.
# It's not really possible to exclude these tests from the command substitution,
# so we just exclude llvm-reduce tests from this config altogether. This should
# be fine though as profcheck config tests are mostly concerned with opt.
config.excludes.append("llvm-reduce")
# (Issue #161235) Temporarily exclude LoopVectorize.
config.excludes.append("LoopVectorize")

# test_source_root: The root path where tests are located.
config.test_source_root = os.path.dirname(__file__)
Expand Down
Loading
Loading