2021-03-23 05:12:44 +08:00
|
|
|
add_custom_target(lldb-shell-test-deps)
|
2021-05-21 15:10:17 +08:00
|
|
|
add_dependencies(lldb-shell-test-deps lldb-test-depends)
|
2021-03-23 05:12:44 +08:00
|
|
|
|
|
|
|
add_lit_testsuites(LLDB-SHELL
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}
|
|
|
|
DEPENDS lldb-shell-test-deps)
|
|
|
|
|
2019-10-25 01:54:48 +08:00
|
|
|
configure_lit_site_cfg(
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/lit.site.cfg.py.in
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg.py
|
|
|
|
MAIN_CONFIG
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/lit.cfg.py)
|
|
|
|
configure_file(
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/lit-lldb-init.in
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/lit-lldb-init)
|
2020-01-22 05:21:34 +08:00
|
|
|
|
2021-03-23 05:12:44 +08:00
|
|
|
add_lit_testsuite(check-lldb-shell "Running lldb shell test suite"
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}
|
|
|
|
EXCLUDE_FROM_CHECK_ALL
|
|
|
|
DEPENDS lldb-shell-test-deps)
|