This adds a new target `check-lldb-reproducers` that replaces the old `check-lldb-repro`. The latter would only run the shell tests, while `check-lldb-reproducers` includes the API tests as well. The new target will be used on GreenDragon. It's still possible to run just the shell tests with reproducers, although now that requires crafting the lit invocation yourself. The parameters haven't changed and are the shame for the API and shell tests: --param lldb-run-with-repro=capture --param lldb-run-with-repro=replay This patch also updates the reproducer documentation.
18 lines
593 B
CMake
18 lines
593 B
CMake
# Configure the Shell test suite.
|
|
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)
|
|
|
|
if (CMAKE_GENERATOR STREQUAL "Xcode")
|
|
# Xcode does not get the auto-generated targets. We need to create
|
|
# check-lldb-shell manually.
|
|
add_lit_testsuite(check-lldb-shell "Running lldb shell test suite"
|
|
${CMAKE_CURRENT_BINARY_DIR}
|
|
DEPENDS lldb-test-deps)
|
|
endif()
|