forked from OSchip/llvm-project
[lldb] Move Apple simulators test targets under API
Move the Apple simulators test targets as they only matter for the API tests. Differential revision: https://reviews.llvm.org/D98880
This commit is contained in:
parent
32a744ab20
commit
36335fe753
|
@ -167,3 +167,25 @@ if (CMAKE_GENERATOR STREQUAL "Xcode")
|
|||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
DEPENDS lldb-test-deps)
|
||||
endif()
|
||||
|
||||
# Targets for running the test suite on the different Apple simulators.
|
||||
add_lit_testsuite(check-lldb-simulator-ios
|
||||
"Running lldb test suite on the iOS simulator"
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
PARAMS "lldb-run-with-simulator=ios"
|
||||
EXCLUDE_FROM_CHECK_ALL
|
||||
DEPENDS lldb-test-deps)
|
||||
|
||||
add_lit_testsuite(check-lldb-simulator-watchos
|
||||
"Running lldb test suite on the watchOS simulator"
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
PARAMS "lldb-run-with-simulator=watchos"
|
||||
EXCLUDE_FROM_CHECK_ALL
|
||||
DEPENDS lldb-test-deps)
|
||||
|
||||
add_lit_testsuite(check-lldb-simulator-tvos
|
||||
"Running lldb test suite on the tvOS simulator"
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
PARAMS "lldb-run-with-simulator=tvos"
|
||||
EXCLUDE_FROM_CHECK_ALL
|
||||
DEPENDS lldb-test-deps)
|
||||
|
|
|
@ -220,29 +220,6 @@ add_lit_testsuite(check-lldb-reproducers
|
|||
DEPENDS lldb-test-deps)
|
||||
add_dependencies(check-lldb-reproducers check-lldb-reproducers-capture)
|
||||
|
||||
# Targets for running the test suite on the different Apple simulators.
|
||||
add_lit_testsuite(check-lldb-simulator-ios
|
||||
"Running lldb test suite on the iOS simulator"
|
||||
${CMAKE_CURRENT_BINARY_DIR}/API
|
||||
PARAMS "lldb-run-with-simulator=ios"
|
||||
EXCLUDE_FROM_CHECK_ALL
|
||||
DEPENDS lldb-test-deps)
|
||||
|
||||
add_lit_testsuite(check-lldb-simulator-watchos
|
||||
"Running lldb test suite on the watchOS simulator"
|
||||
${CMAKE_CURRENT_BINARY_DIR}/API
|
||||
PARAMS "lldb-run-with-simulator=watchos"
|
||||
EXCLUDE_FROM_CHECK_ALL
|
||||
DEPENDS lldb-test-deps)
|
||||
|
||||
add_lit_testsuite(check-lldb-simulator-tvos
|
||||
"Running lldb test suite on the tvOS simulator"
|
||||
${CMAKE_CURRENT_BINARY_DIR}/API
|
||||
PARAMS "lldb-run-with-simulator=tvos"
|
||||
EXCLUDE_FROM_CHECK_ALL
|
||||
DEPENDS lldb-test-deps)
|
||||
|
||||
|
||||
if(LLDB_BUILT_STANDALONE)
|
||||
# This has to happen *AFTER* add_lit_testsuite.
|
||||
if (EXISTS ${LLVM_MAIN_SRC_DIR}/utils/llvm-lit)
|
||||
|
|
Loading…
Reference in New Issue