]> granicus.if.org Git - clang/commitdiff
Update lit.cfg to support the clang-interpreter test from r207950
authorAlp Toker <alp@nuanti.com>
Mon, 5 May 2014 06:42:07 +0000 (06:42 +0000)
committerAlp Toker <alp@nuanti.com>
Mon, 5 May 2014 06:42:07 +0000 (06:42 +0000)
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

test/CMakeLists.txt
test/lit.cfg

index 970c7b96b3f98299878e8563c66d8259ee67a0da..66a8cab49a79ecb744345e6b70a72f1e896b5e8f 100644 (file)
@@ -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
   )
index 7dd5f6591f9f181a246ad7bb9487e8ab4f0de6db..5c2b187791f0f911f80637519f30b0605ebcd55c 100644 (file)
@@ -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