aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrits van Bommel <fvbommel@gmail.com>2011-01-05 15:10:24 +0000
committerFrits van Bommel <fvbommel@gmail.com>2011-01-05 15:10:24 +0000
commitc95ff3c42247752642b3506302a0b74340e92fbe (patch)
tree796382268ed4b4589fed89d099e78de4e206cfde
parent08602ab1b4b90e26d406ffb886a685c66270698c (diff)
Fix lit for people whose LLVM path contains 'opt', which is a common directory name on Unix-like systems.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122873 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/lit.cfg6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/lit.cfg b/test/lit.cfg
index 7ec23e3545..fef6d78902 100644
--- a/test/lit.cfg
+++ b/test/lit.cfg
@@ -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",