brintos

brintos / llvm-project-archived public Read only

0
0
Text · 633 B · 8ed1a00 Raw
17 lines · plain
1set(INTERCEPTION_TEST_DEPS ${SANITIZER_COMMON_LIT_TEST_DEPS})2set(INTERCEPTION_TESTSUITES)3 4# Unit tests. There are currently no unit tests capable to running on Apple or5# Android targets.6if(NOT ANDROID AND NOT APPLE)7  configure_lit_site_cfg(8    ${CMAKE_CURRENT_SOURCE_DIR}/Unit/lit.site.cfg.py.in9    ${CMAKE_CURRENT_BINARY_DIR}/Unit/lit.site.cfg.py)10  list(APPEND INTERCEPTION_TESTSUITES ${CMAKE_CURRENT_BINARY_DIR}/Unit)11  list(APPEND INTERCEPTION_TEST_DEPS InterceptionUnitTests)12endif()13 14add_lit_testsuite(check-interception "Running the Interception tests"15  ${INTERCEPTION_TESTSUITES}16  DEPENDS ${INTERCEPTION_TEST_DEPS})17