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