diff options
author | Alp Toker <alp@nuanti.com> | 2014-05-05 06:42:07 +0000 |
---|---|---|
committer | Alp Toker <alp@nuanti.com> | 2014-05-05 06:42:07 +0000 |
commit | ee77934c17173e31226114e123a21051f6a1eb34 (patch) | |
tree | d14ec16833a10abfe0e6a7095d192f4b7d5e08e5 | |
parent | 1d487617f20ab9df65ab60d6cf9431ef288312ab (diff) | |
download | bcm5719-llvm-ee77934c17173e31226114e123a21051f6a1eb34.tar.gz bcm5719-llvm-ee77934c17173e31226114e123a21051f6a1eb34.zip |
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
-rw-r--r-- | clang/test/CMakeLists.txt | 1 | ||||
-rw-r--r-- | clang/test/lit.cfg | 1 |
2 files changed, 2 insertions, 0 deletions
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 |