1 add_custom_target(lldb-shell-test-deps)
2 add_dependencies(lldb-shell-test-deps lldb-test-depends)
4 add_lit_testsuites(LLDB-SHELL
5 ${CMAKE_CURRENT_SOURCE_DIR}
6 DEPENDS lldb-shell-test-deps)
8 configure_lit_site_cfg(
9 ${CMAKE_CURRENT_SOURCE_DIR}/lit.site.cfg.py.in
10 ${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg.py
12 ${CMAKE_CURRENT_SOURCE_DIR}/lit.cfg.py)
14 ${CMAKE_CURRENT_SOURCE_DIR}/lit-lldb-init.in
15 ${CMAKE_CURRENT_BINARY_DIR}/lit-lldb-init)
17 file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/lit-lldb-init-quiet
18 "command source -C --silent-run true lit-lldb-init\n")
20 add_lit_testsuite(check-lldb-shell "Running lldb shell test suite"
21 ${CMAKE_CURRENT_BINARY_DIR}
22 EXCLUDE_FROM_CHECK_ALL
23 DEPENDS lldb-shell-test-deps)