diff --git a/lldb/test/API/CMakeLists.txt b/lldb/test/API/CMakeLists.txt index 001712fcfbceb1..0dbc46defc8118 100644 --- a/lldb/test/API/CMakeLists.txt +++ b/lldb/test/API/CMakeLists.txt @@ -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) diff --git a/lldb/test/CMakeLists.txt b/lldb/test/CMakeLists.txt index 9944e37a46fc93..8363bde23035c1 100644 --- a/lldb/test/CMakeLists.txt +++ b/lldb/test/CMakeLists.txt @@ -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)