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

Richard Smith richard at metafoo.co.uk
Sat May 31 18:05:06 PDT 2014


On Sun, May 4, 2014 at 11:42 PM, Alp Toker <alp at nuanti.com> wrote:

> 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
>

I'm all in favor of having buildbots check that the clang-interpreter
example still works, but is it really sufficiently valuable to slow down
*all* clang-test builds by adding another (slow) link action? Can we make
this only run on the buildbots by default somehow?


>    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
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140531/89a6ca58/attachment.html>


More information about the cfe-commits mailing list