From 5e9ed7cf1db8e614be4968a981e1ba0e43d21d16 Mon Sep 17 00:00:00 2001 From: Alp Toker Date: Mon, 28 Oct 2013 23:37:49 +0000 Subject: 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. llvm-svn: 193559 --- llvm/test/CMakeLists.txt | 1 + llvm/test/lit.cfg | 3 +++ 2 files changed, 4 insertions(+) (limited to 'llvm') diff --git a/llvm/test/CMakeLists.txt b/llvm/test/CMakeLists.txt index edefcb79f87..d6f7dab1287 100644 --- a/llvm/test/CMakeLists.txt +++ b/llvm/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/llvm/test/lit.cfg b/llvm/test/lit.cfg index 9ac7e7a5a23..df1f4a10196 100644 --- a/llvm/test/lit.cfg +++ b/llvm/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", -- cgit v1.2.3