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