From ee77934c17173e31226114e123a21051f6a1eb34 Mon Sep 17 00:00:00 2001 From: Alp Toker Date: Mon, 5 May 2014 06:42:07 +0000 Subject: 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. llvm-svn: 207951 --- clang/test/CMakeLists.txt | 1 + clang/test/lit.cfg | 1 + 2 files changed, 2 insertions(+) diff --git a/clang/test/CMakeLists.txt b/clang/test/CMakeLists.txt index 970c7b96b3f..66a8cab49a7 100644 --- a/clang/test/CMakeLists.txt +++ b/clang/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/clang/test/lit.cfg b/clang/test/lit.cfg index 7dd5f6591f9..5c2b187791f 100644 --- a/clang/test/lit.cfg +++ b/clang/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 -- cgit v1.2.3