[PATCH] D14722: Teach CMake how to run lit's testsuite as part of check-all
Jonathan Roelofs via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 16 12:14:36 PST 2015
jroelofs created this revision.
jroelofs added a reviewer: beanz.
jroelofs added subscribers: llvm-commits, EricWF.
http://reviews.llvm.org/D14722
Files:
CMakeLists.txt
utils/lit/CMakeLists.txt
Index: utils/lit/CMakeLists.txt
===================================================================
--- utils/lit/CMakeLists.txt
+++ utils/lit/CMakeLists.txt
@@ -0,0 +1,4 @@
+add_lit_testsuite(check-lit "Running lit's self tests"
+ ${CMAKE_CURRENT_SOURCE_DIR}/tests
+ DEPENDS FileCheck not)
+set_target_properties(check-lit PROPERTIES FOLDER "Tests")
Index: CMakeLists.txt
===================================================================
--- CMakeLists.txt
+++ CMakeLists.txt
@@ -649,6 +649,7 @@
add_subdirectory(utils/not)
add_subdirectory(utils/llvm-lit)
add_subdirectory(utils/yaml-bench)
+ add_subdirectory(utils/lit)
else()
if ( LLVM_INCLUDE_TESTS )
message(FATAL_ERROR "Including tests when not building utils will not work.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14722.40319.patch
Type: text/x-patch
Size: 759 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151116/8814f7ab/attachment.bin>
More information about the llvm-commits
mailing list