r207951 - Update lit.cfg to support the clang-interpreter test from r207950

Alp Toker alp at nuanti.com
Sun May 4 23:42:08 PDT 2014


Author: alp
Date: Mon May  5 01:42:07 2014
New Revision: 207951

URL: http://llvm.org/viewvc/llvm-project?rev=207951&view=rev
Log:
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.

Modified:
    cfe/trunk/test/CMakeLists.txt
    cfe/trunk/test/lit.cfg

Modified: cfe/trunk/test/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CMakeLists.txt?rev=207951&r1=207950&r2=207951&view=diff
==============================================================================
--- cfe/trunk/test/CMakeLists.txt (original)
+++ cfe/trunk/test/CMakeLists.txt Mon May  5 01:42:07 2014
@@ -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
   )

Modified: cfe/trunk/test/lit.cfg
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/lit.cfg?rev=207951&r1=207950&r2=207951&view=diff
==============================================================================
--- cfe/trunk/test/lit.cfg (original)
+++ cfe/trunk/test/lit.cfg Mon May  5 01:42:07 2014
@@ -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





More information about the cfe-commits mailing list