[compiler-rt] r201780 - [CMake] Introduce check-all command for standalone compiler-rt build

Alexey Samsonov samsonov at google.com
Thu Feb 20 04:36:27 PST 2014


Author: samsonov
Date: Thu Feb 20 06:36:26 2014
New Revision: 201780

URL: http://llvm.org/viewvc/llvm-project?rev=201780&view=rev
Log:
[CMake] Introduce check-all command for standalone compiler-rt build

Modified:
    compiler-rt/trunk/test/CMakeLists.txt

Modified: compiler-rt/trunk/test/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/CMakeLists.txt?rev=201780&r1=201779&r2=201780&view=diff
==============================================================================
--- compiler-rt/trunk/test/CMakeLists.txt (original)
+++ compiler-rt/trunk/test/CMakeLists.txt Thu Feb 20 06:36:26 2014
@@ -46,3 +46,14 @@ if(COMPILER_RT_CAN_EXECUTE_TESTS)
     add_subdirectory(ubsan)
   endif()
 endif()
+
+if(COMPILER_RT_STANDALONE_BUILD)
+  # Now that we've traversed all the directories and know all the lit testsuites,
+  # introduce a rule to run to run all of them.
+  get_property(LLVM_LIT_TESTSUITES GLOBAL PROPERTY LLVM_LIT_TESTSUITES)
+  get_property(LLVM_LIT_DEPENDS GLOBAL PROPERTY LLVM_LIT_DEPENDS)
+  add_lit_target(check-all
+    "Running all regression tests"
+    ${LLVM_LIT_TESTSUITES}
+    DEPENDS ${LLVM_LIT_DEPENDS})
+endif()





More information about the llvm-commits mailing list