summaryrefslogtreecommitdiff
path: root/test/lit.cfg
diff options
context:
space:
mode:
authorDavid Greene <greened@obbligato.org>2011-01-03 21:55:08 +0000
committerDavid Greene <greened@obbligato.org>2011-01-03 21:55:08 +0000
commitfd1ed5f4c4afebf312ecb708280686c49a7d8839 (patch)
tree5e121d7f50c8a3805bb2299c9b4ff4b59223a8d8 /test/lit.cfg
parentb020808f0d29433e84d6ab4c57a7ec54eed41860 (diff)
downloadllvm-fd1ed5f4c4afebf312ecb708280686c49a7d8839.tar.gz
llvm-fd1ed5f4c4afebf312ecb708280686c49a7d8839.tar.bz2
llvm-fd1ed5f4c4afebf312ecb708280686c49a7d8839.tar.xz
Don't pattern match "clang-" as it may be part of a tool name with a
triple suffix. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122779 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/lit.cfg')
-rw-r--r--test/lit.cfg4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lit.cfg b/test/lit.cfg
index 7df27029bb..638af28ed9 100644
--- a/test/lit.cfg
+++ b/test/lit.cfg
@@ -155,8 +155,8 @@ for sub in ['llvmgcc', 'llvmgxx', 'emitir', 'compile_cxx', 'compile_c',
# tools that might happen to be in the user's PATH. Thus this list
# includes every tool placed in $(LLVM_OBJ_ROOT)/$(BuildMode)/bin
# (llvm_tools_dir in lit parlance).
- # Don't match 'bugpoint-'.
-for pattern in [r"\bbugpoint\b(?!-)", r"\bclang\b",
+ # Don't match 'bugpoint-' or 'clang-'.
+for pattern in [r"\bbugpoint\b(?!-)", r"\bclang\b(?!-)",
r"\bedis\b", r"\bgold\b",
r"\bllc\b", r"\blli\b",
r"\bllvm-ar\b", r"\bllvm-as\b",