[llvm] r193559 - lit: add missing substitutions for recently added tools

Alp Toker alp at nuanti.com
Mon Oct 28 16:37:49 PDT 2013


Author: alp
Date: Mon Oct 28 18:37:49 2013
New Revision: 193559

URL: http://llvm.org/viewvc/llvm-project?rev=193559&view=rev
Log:
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.

Modified:
    llvm/trunk/test/CMakeLists.txt
    llvm/trunk/test/lit.cfg

Modified: llvm/trunk/test/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CMakeLists.txt?rev=193559&r1=193558&r2=193559&view=diff
==============================================================================
--- llvm/trunk/test/CMakeLists.txt (original)
+++ llvm/trunk/test/CMakeLists.txt Mon Oct 28 18:37:49 2013
@@ -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

Modified: llvm/trunk/test/lit.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/lit.cfg?rev=193559&r1=193558&r2=193559&view=diff
==============================================================================
--- llvm/trunk/test/lit.cfg (original)
+++ llvm/trunk/test/lit.cfg Mon Oct 28 18:37:49 2013
@@ -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",





More information about the llvm-commits mailing list