[PATCH] D14046: [test-suite] Introduce a new CMake+LIT based harness

James Molloy via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 28 10:50:07 PDT 2015


Hi,

Yep, long term it'd be awesome for this to work as part of projects, but
for the moment it won't as Chris mentions. I'm going to hook up
cross-compile support for fpcmp and timeit tomorrow, so I'll see if I can
use the same technique (and the one compiler-rt uses) to make it work.

James

On Wed, 28 Oct 2015 at 17:43 Artem Belevich via llvm-commits <
llvm-commits at lists.llvm.org> wrote:

> tra added a subscriber: tra.
>
> ================
> Comment at: cmake/modules/SingleMultiSource.cmake:139
> @@ +138,3 @@
> +  # Now do the actual configuration.
> +  configure_file(${CMAKE_SOURCE_DIR}/cmake/lit-test-template.in
> +    ${CMAKE_CURRENT_BINARY_DIR}/${exename}.test)
> ----------------
> When test suite is configured as part of whole llvm+projects+clang tree
> CMAKE_SOURCE_DIR points to the top of the tree and there's no
> lit-test-template.in there.
>
> Perhaps you should use PROJECT_SOURCE_DIR here.
>
>
> Repository:
>   rL LLVM
>
> http://reviews.llvm.org/D14046
>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151028/1b5953d8/attachment.html>


More information about the llvm-commits mailing list