[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / compiler-rt / test / scudo / standalone / CMakeLists.txt
blobaba057e677e28b62ef6b13b856a0c0735770c3d9
1 if(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)
7   if (COMPILER_RT_HAS_GWP_ASAN)
8     configure_lit_site_cfg(
9       ${CMAKE_CURRENT_SOURCE_DIR}/unit/gwp_asan/lit.site.cfg.py.in
10       ${CMAKE_CURRENT_BINARY_DIR}/unit/gwp_asan/lit.site.cfg.py)
11     list(APPEND SCUDO_STANDALONE_TESTSUITES ${CMAKE_CURRENT_BINARY_DIR}/unit/gwp_asan)
12   endif()
14   add_lit_testsuite(check-scudo_standalone
15     "Running Scudo Standalone tests"
16     ${SCUDO_STANDALONE_TESTSUITES}
17     DEPENDS ${SCUDO_STANDALONE_TEST_DEPS})
19   set_target_properties(check-scudo_standalone
20     PROPERTIES FOLDER "Compiler-RT Tests")
21 endif()