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

Chris Matthews via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 28 10:53:13 PDT 2015


BTW, building in projects is one of my favorite possible features of this.  I will make all of our public bots run the test-suite for correctness testing as soon as this works.

> On Oct 28, 2015, at 10:50 AM, James Molloy <james at jamesmolloy.co.uk> wrote:
> 
> 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 <mailto: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 <http://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 <http://lit-test-template.in/> there.
> 
> Perhaps you should use PROJECT_SOURCE_DIR here.
> 
> 
> Repository:
>   rL LLVM
> 
> http://reviews.llvm.org/D14046 <http://reviews.llvm.org/D14046>
> 
> 
> 
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org <mailto:llvm-commits at lists.llvm.org>
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits <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/e2ce8d3a/attachment.html>


More information about the llvm-commits mailing list