diff options
-rw-r--r-- | lld/test/lit.cfg | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lld/test/lit.cfg b/lld/test/lit.cfg index 95e4c821400..54e8c7f546f 100644 --- a/lld/test/lit.cfg +++ b/lld/test/lit.cfg @@ -147,12 +147,12 @@ if config.test_exec_root is None: # Regex assertions to reject neighbor hyphens/dots (seen in some tests). # For example, we want to prefix 'lld' and 'ld.lld' but not the 'lld' inside # of 'ld.lld'. -NoPreHyphenDot = r"(?<!(-|\.))" -NoPostHyphenDot = r"(?!(-|\.))" +NoPreJunk = r"(?<!(-|\.|/))" +NoPostJunk = r"(?!(-|\.))" tool_patterns = [r"\bFileCheck\b", r"\bnot\b", - NoPreHyphenDot + r"\blld\b" + NoPostHyphenDot, + NoPreJunk + r"\blld\b" + NoPostJunk, r"\bld.lld\b", r"\blld-link\b", r"\bllvm-mc\b", |