Fix lit for people whose LLVM path contains 'opt', which is a common directory name on Unix-like systems.

llvm-svn: 122873
This commit is contained in:
Frits van Bommel 2011-01-05 15:10:24 +00:00
parent 8aea3e1876
commit c7d65b42fc
1 changed files with 3 additions and 3 deletions

View File

@ -176,9 +176,9 @@ for pattern in [r"\bbugpoint\b(?!-)", r"(?<!/)\bclang\b(?!-)",
r"\bllvm-stub\b", r"\bllvm2cpp\b",
# Don't match '-llvmc'.
r"(?<!-)\bllvmc\b", r"\blto\b",
# Don't match '.opt', '-opt'
# or '^opt'.
r"\bmacho-dump\b", r"(?<!\.|-|\^)\bopt\b",
# Don't match '.opt', '-opt',
# '^opt' or '/opt'.
r"\bmacho-dump\b", r"(?<!\.|-|\^|/)\bopt\b",
r"\btblgen\b", r"\bFileCheck\b",
r"\bFileUpdate\b", r"\bc-index-test\b",
r"\bfpcmp\b", r"\bllvm-PerfectShuffle\b",