Skip to content

Commit

Permalink
Don't pattern match "/clang" so we don't mangle directory names. Some
Browse files Browse the repository at this point in the history
tests use absolute paths to clang.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122796 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
greened committed Jan 4, 2011
1 parent fa3306a commit 70ecc97
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/lit.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 70ecc97

Please sign in to comment.