diff options
author | Alp Toker <alp@nuanti.com> | 2013-10-28 23:37:49 +0000 |
---|---|---|
committer | Alp Toker <alp@nuanti.com> | 2013-10-28 23:37:49 +0000 |
commit | 1765daa21c51a3e6bfc7db4adbbcbac0e0dcff3e (patch) | |
tree | 699890440d4dc0eba32520f7097d2cc432034793 /test | |
parent | e794e41c35a87e4c3077c19b1304a6f377d6c74d (diff) | |
download | external_llvm-1765daa21c51a3e6bfc7db4adbbcbac0e0dcff3e.zip external_llvm-1765daa21c51a3e6bfc7db4adbbcbac0e0dcff3e.tar.gz external_llvm-1765daa21c51a3e6bfc7db4adbbcbac0e0dcff3e.tar.bz2 |
lit: add missing substitutions for recently added tools
llvm-mcmarkup, obj2yaml and yaml2obj were missing from the substitutions list,
causing the test suite to fail in a sandboxed environment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193559 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/CMakeLists.txt | 1 | ||||
-rw-r--r-- | test/lit.cfg | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index edefcb7..d6f7dab 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -13,6 +13,7 @@ if(NOT LLVM_BUILD_TOOLS) endif() # Set the depends list as a variable so that it can grow conditionally. +# NOTE: Sync the substitutions in test/lit.cfg when adding to this list. set(LLVM_TEST_DEPENDS UnitTests BugpointPasses diff --git a/test/lit.cfg b/test/lit.cfg index 9ac7e7a..df1f4a1 100644 --- a/test/lit.cfg +++ b/test/lit.cfg @@ -224,6 +224,7 @@ for pattern in [r"\bbugpoint\b(?!-)", r"\bllvm-link\b", r"\bllvm-lto\b", r"\bllvm-mc\b", + r"\bllvm-mcmarkup\b", r"\bllvm-nm\b", r"\bllvm-objdump\b", r"\bllvm-ranlib\b", @@ -244,6 +245,8 @@ for pattern in [r"\bbugpoint\b(?!-)", r"\bFileUpdate\b", r"\bc-index-test\b", r"\bfpcmp\b", + r"\bobj2yaml\b", + r"\byaml2obj\b", # Handle these specially as they are strings searched # for during testing. r"\| \bcount\b", |