Home | History | Annotate | Download | only in dfsan
      1 set(DFSAN_LIT_TESTS_DIR ${CMAKE_CURRENT_SOURCE_DIR})
      2 
      3 configure_lit_site_cfg(
      4   ${CMAKE_CURRENT_SOURCE_DIR}/lit.site.cfg.in
      5   ${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg)
      6 
      7 set(DFSAN_TEST_DEPS ${SANITIZER_COMMON_LIT_TEST_DEPS})
      8 if(NOT COMPILER_RT_STANDALONE_BUILD)
      9   list(APPEND DFSAN_TEST_DEPS dfsan)
     10 endif()
     11 
     12 add_lit_testsuite(check-dfsan "Running the DataFlowSanitizer tests"
     13   ${CMAKE_CURRENT_BINARY_DIR}
     14   DEPENDS ${DFSAN_TEST_DEPS})
     15 set_target_properties(check-dfsan PROPERTIES FOLDER "DFSan tests")
     16