1 add_custom_target(lldb-unit-test-deps)
2 set_target_properties(lldb-unit-test-deps PROPERTIES FOLDER "LLDB/Tests")
3 add_dependencies(lldb-unit-test-deps lldb-test-depends)
5 add_lit_testsuites(LLDB-UNIT
6 ${CMAKE_CURRENT_SOURCE_DIR}
7 DEPENDS lldb-unit-test-deps)
9 configure_lit_site_cfg(
10 ${CMAKE_CURRENT_SOURCE_DIR}/lit.site.cfg.py.in
11 ${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg.py
13 ${CMAKE_CURRENT_SOURCE_DIR}/lit.cfg.py)
15 add_lit_testsuite(check-lldb-unit "Running lldb unit test suite"
16 ${CMAKE_CURRENT_BINARY_DIR}
17 EXCLUDE_FROM_CHECK_ALL
18 DEPENDS lldb-unit-test-deps)