1 configure_lit_site_cfg(
2 ${CMAKE_CURRENT_SOURCE_DIR}/unit/lit.site.cfg.py.in
3 ${CMAKE_CURRENT_BINARY_DIR}/unit/lit.site.cfg.py)
4 list(APPEND SCUDO_STANDALONE_TEST_DEPS ScudoUnitTests)
5 list(APPEND SCUDO_STANDALONE_TESTSUITES ${CMAKE_CURRENT_BINARY_DIR}/unit)
6 if (COMPILER_RT_HAS_GWP_ASAN)
7 configure_lit_site_cfg(
8 ${CMAKE_CURRENT_SOURCE_DIR}/unit/gwp_asan/lit.site.cfg.py.in
9 ${CMAKE_CURRENT_BINARY_DIR}/unit/gwp_asan/lit.site.cfg.py)
10 list(APPEND SCUDO_STANDALONE_TESTSUITES ${CMAKE_CURRENT_BINARY_DIR}/unit/gwp_asan)
13 add_lit_testsuite(check-scudo_standalone
14 "Running Scudo Standalone tests"
15 ${SCUDO_STANDALONE_TESTSUITES}
16 DEPENDS ${SCUDO_STANDALONE_TEST_DEPS})
18 set_target_properties(check-scudo_standalone
19 PROPERTIES FOLDER "Compiler-RT Tests")