Index: lldb/test/API/CMakeLists.txt =================================================================== --- lldb/test/API/CMakeLists.txt +++ lldb/test/API/CMakeLists.txt @@ -167,3 +167,25 @@ ${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)