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

Artem Belevich via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 28 10:43:51 PDT 2015


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





More information about the llvm-commits mailing list