diff options
author | Alexey Samsonov <samsonov@google.com> | 2014-02-20 12:36:26 +0000 |
---|---|---|
committer | Alexey Samsonov <samsonov@google.com> | 2014-02-20 12:36:26 +0000 |
commit | 04e7ad29ea263313664b637047d38b2801d63f2a (patch) | |
tree | 6ab87c9924f8f9003b5f190d0e9d7ecdb87c02b6 /compiler-rt | |
parent | 35a66d15d4431a7b55fdb0072b0129654ffb8bbb (diff) | |
download | bcm5719-llvm-04e7ad29ea263313664b637047d38b2801d63f2a.tar.gz bcm5719-llvm-04e7ad29ea263313664b637047d38b2801d63f2a.zip |
[CMake] Introduce check-all command for standalone compiler-rt build
llvm-svn: 201780
Diffstat (limited to 'compiler-rt')
-rw-r--r-- | compiler-rt/test/CMakeLists.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/compiler-rt/test/CMakeLists.txt b/compiler-rt/test/CMakeLists.txt index 8a0fa2b0910..a714cdfa5a0 100644 --- a/compiler-rt/test/CMakeLists.txt +++ b/compiler-rt/test/CMakeLists.txt @@ -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() |