20 lines · plain
1configure_lit_site_cfg(2 ${CMAKE_CURRENT_SOURCE_DIR}/unit/lit.site.cfg.py.in3 ${CMAKE_CURRENT_BINARY_DIR}/unit/lit.site.cfg.py)4list(APPEND SCUDO_STANDALONE_TEST_DEPS ScudoUnitTests)5list(APPEND SCUDO_STANDALONE_TESTSUITES ${CMAKE_CURRENT_BINARY_DIR}/unit)6if (COMPILER_RT_HAS_GWP_ASAN)7 configure_lit_site_cfg(8 ${CMAKE_CURRENT_SOURCE_DIR}/unit/gwp_asan/lit.site.cfg.py.in9 ${CMAKE_CURRENT_BINARY_DIR}/unit/gwp_asan/lit.site.cfg.py)10 list(APPEND SCUDO_STANDALONE_TESTSUITES ${CMAKE_CURRENT_BINARY_DIR}/unit/gwp_asan)11endif()12 13add_lit_testsuite(check-scudo_standalone14 "Running Scudo Standalone tests"15 ${SCUDO_STANDALONE_TESTSUITES}16 DEPENDS ${SCUDO_STANDALONE_TEST_DEPS})17 18set_target_properties(check-scudo_standalone19 PROPERTIES FOLDER "Compiler-RT Tests")20