summaryrefslogtreecommitdiff
path: root/test/lit.cfg
diff options
context:
space:
mode:
authorDavid Greene <greened@obbligato.org>2011-01-04 01:05:30 +0000
committerDavid Greene <greened@obbligato.org>2011-01-04 01:05:30 +0000
commit70ecc97550635eec18d8c45577fc3ad24dcf8abc (patch)
treea245e98ff0e95da039f3ff635caf4a2af02628d9 /test/lit.cfg
parentfa3306af82ffc12a3ce718f256e82bf26cc75f44 (diff)
downloadllvm-70ecc97550635eec18d8c45577fc3ad24dcf8abc.tar.gz
llvm-70ecc97550635eec18d8c45577fc3ad24dcf8abc.tar.bz2
llvm-70ecc97550635eec18d8c45577fc3ad24dcf8abc.tar.xz
Don't pattern match "/clang" so we don't mangle directory names. Some
tests use absolute paths to clang. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122796 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/lit.cfg')
-rw-r--r--test/lit.cfg3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/lit.cfg b/test/lit.cfg
index 638af28ed9..b5c5706ad6 100644
--- a/test/lit.cfg
+++ b/test/lit.cfg
@@ -156,7 +156,8 @@ for sub in ['llvmgcc', 'llvmgxx', 'emitir', 'compile_cxx', 'compile_c',
# includes every tool placed in $(LLVM_OBJ_ROOT)/$(BuildMode)/bin
# (llvm_tools_dir in lit parlance).
# Don't match 'bugpoint-' or 'clang-'.
-for pattern in [r"\bbugpoint\b(?!-)", r"\bclang\b(?!-)",
+ # Don't match '/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",