forked from OSchip/llvm-project
[CMake] Introduce check-all command for standalone compiler-rt build
llvm-svn: 201780
This commit is contained in:
parent
35a66d15d4
commit
04e7ad29ea
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue