From: Alp Toker Date: Mon, 5 May 2014 06:42:07 +0000 (+0000) Subject: Update lit.cfg to support the clang-interpreter test from r207950 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=95a932e123dd15941307db62dd4eb3c1ea8a7e54;p=clang Update lit.cfg to support the clang-interpreter test from r207950 Performs behind-the-scenes RUN line substitution similarly to what's done with clang-check and clang-format to ensure the executable is found. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@207951 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 970c7b96b3..66a8cab49a 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -29,6 +29,7 @@ list(APPEND CLANG_TEST_DEPS c-index-test diagtool arcmt-test c-arcmt-test clang-check clang-format clang-tblgen + clang-interpreter PrintFunctionNames SampleAnalyzerPlugin ) diff --git a/test/lit.cfg b/test/lit.cfg index 7dd5f6591f..5c2b187791 100644 --- a/test/lit.cfg +++ b/test/lit.cfg @@ -308,6 +308,7 @@ for pattern in [r"\bFileCheck\b", r"\bc-index-test\b", NoPreHyphenDot + r"\bclang-check\b" + NoPostHyphenDot, NoPreHyphenDot + r"\bclang-format\b" + NoPostHyphenDot, + NoPreHyphenDot + r"\bclang-interpreter\b" + NoPostHyphenDot, # FIXME: Some clang test uses opt? NoPreHyphenDot + r"\bopt\b" + NoPostHyphenDot, # Handle these specially as they are strings searched