summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2013-10-02 14:31:21 +0000
committerChandler Carruth <chandlerc@gmail.com>2013-10-02 14:31:21 +0000
commit1a1d7c4f4c68d64ae5d96ba45270cfcf46421ca0 (patch)
tree1c57a4354159d4f579737a5f28e1da8328815f64
parentb964366a9a282dee620651611c97c80311b11a8b (diff)
downloadllvm-1a1d7c4f4c68d64ae5d96ba45270cfcf46421ca0.tar.gz
llvm-1a1d7c4f4c68d64ae5d96ba45270cfcf46421ca0.tar.bz2
llvm-1a1d7c4f4c68d64ae5d96ba45270cfcf46421ca0.tar.xz
Don't layout items in a list in columns. That requires changing every
line just to add or remove a single element. What I wouldn't give to have clang-format here an be able to format this more densely without caring... Re-group and sort the entries while here to make the whole thing more clear. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191828 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/lit.cfg53
1 files changed, 34 insertions, 19 deletions
diff --git a/test/lit.cfg b/test/lit.cfg
index 4262545e3d..171186ea50 100644
--- a/test/lit.cfg
+++ b/test/lit.cfg
@@ -204,35 +204,50 @@ else:
# Regex to reject matching a hyphen
NOHYPHEN = r"(?<!-)"
-for pattern in [r"\bbugpoint\b(?!-)", r"(?<!/|-)\bclang\b(?!-)",
+for pattern in [r"\bbugpoint\b(?!-)",
+ r"(?<!/|-)\bclang\b(?!-)",
r"\bgold\b",
# Match llc but not -llc
NOHYPHEN + r"\bllc\b",
r"\blli\b",
- r"\bllvm-ar\b", r"\bllvm-as\b",
- r"\bllvm-bcanalyzer\b", r"\bllvm-config\b",
- r"\bllvm-cov\b", r"\bllvm-diff\b",
- r"\bllvm-dis\b", r"\bllvm-dwarfdump\b",
- r"\bllvm-extract\b", r"\bllvm-jistlistener\b",
- r"\bllvm-link\b", r"\bllvm-mc\b",
- r"\bllvm-nm\b", r"\bllvm-objdump\b",
- r"\bllvm-prof\b", r"\bllvm-ranlib\b",
- r"\bllvm-rtdyld\b", r"\bllvm-shlib\b",
- r"\bllvm-size\b", r"\bllvm-readobj\b",
+ r"\bllvm-PerfectShuffle\b",
+ r"\bllvm-ar\b",
+ r"\bllvm-as\b",
+ r"\bllvm-bcanalyzer\b",
+ r"\bllvm-config\b",
+ r"\bllvm-cov\b",
+ r"\bllvm-diff\b",
+ r"\bllvm-dis\b",
+ r"\bllvm-dwarfdump\b",
+ r"\bllvm-extract\b",
+ r"\bllvm-jistlistener\b",
+ r"\bllvm-link\b",
+ r"\bllvm-lto\b",
+ r"\bllvm-mc\b",
+ r"\bllvm-nm\b",
+ r"\bllvm-objdump\b",
+ r"\bllvm-prof\b",
+ r"\bllvm-ranlib\b",
+ r"\bllvm-readobj\b",
+ r"\bllvm-rtdyld\b",
+ r"\bllvm-shlib\b",
+ r"\bllvm-size\b",
+ r"\bllvm-tblgen\b",
# Match llvmc but not -llvmc
NOHYPHEN + r"\bllvmc\b",
- r"\bllvm-lto\b",
# Match lto but not -lto
NOHYPHEN + r"\blto\b",
- # Don't match '.opt', '-opt',
- # '^opt' or '/opt'.
- r"\bmacho-dump\b", r"(?<!\.|-|\^|/)\bopt\b",
- r"\bllvm-tblgen\b", r"\bFileCheck\b",
- r"\bFileUpdate\b", r"\bc-index-test\b",
- r"\bfpcmp\b", r"\bllvm-PerfectShuffle\b",
+ r"\bmacho-dump\b",
+ # Don't match '.opt', '-opt', '^opt' or '/opt'.
+ r"(?<!\.|-|\^|/)\bopt\b",
+ r"\bFileCheck\b",
+ r"\bFileUpdate\b",
+ r"\bc-index-test\b",
+ r"\bfpcmp\b",
# Handle these specially as they are strings searched
# for during testing.
- r"\| \bcount\b", r"\| \bnot\b"]:
+ r"\| \bcount\b",
+ r"\| \bnot\b"]:
# Extract the tool name from the pattern. This relies on the tool
# name being surrounded by \b word match operators. If the
# pattern starts with "| ", include it in the string to be