diff options
| -rw-r--r-- | clang/test/lit.cfg | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/lit.cfg b/clang/test/lit.cfg index 70353c61958..846a6e92ca5 100644 --- a/clang/test/lit.cfg +++ b/clang/test/lit.cfg @@ -306,14 +306,14 @@ tool_dirs = os.path.pathsep.join((clang_tools_dir, llvm_tools_dir)) # For example, don't match 'clang-check-' or '.clang-format'. NoPreHyphenDot = r"(?<!(-|\.))" NoPostHyphenDot = r"(?!(-|\.))" +NoPostBar = r"(?!(/|\\))" for pattern in [r"\bFileCheck\b", r"\bc-index-test\b", NoPreHyphenDot + r"\bclang-check\b" + NoPostHyphenDot, NoPreHyphenDot + r"\bclang-format\b" + NoPostHyphenDot, NoPreHyphenDot + r"\bclang-interpreter\b" + NoPostHyphenDot, - # FIXME: Some clang test uses opt? - NoPreHyphenDot + r"\bopt\b" + NoPostHyphenDot, + NoPreHyphenDot + r"\bopt\b" + NoPostBar + NoPostHyphenDot, # Handle these specially as they are strings searched # for during testing. r"\| \bcount\b", |

