annotate compiler-rt/test/interception/CMakeLists.txt @ 222:81f6424ef0e3 llvm-original

LLVM original branch
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sun, 18 Jul 2021 22:10:01 +0900
parents 1d019706d866
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 set(INTERCEPTION_TEST_DEPS ${SANITIZER_COMMON_LIT_TEST_DEPS})
anatofuz
parents:
diff changeset
2 set(INTERCEPTION_TESTSUITES)
anatofuz
parents:
diff changeset
3
anatofuz
parents:
diff changeset
4 # Unit tests. There are currently no unit tests capable to running on Apple or
anatofuz
parents:
diff changeset
5 # Android targets.
anatofuz
parents:
diff changeset
6 if(COMPILER_RT_INCLUDE_TESTS AND NOT ANDROID AND NOT APPLE)
anatofuz
parents:
diff changeset
7 configure_lit_site_cfg(
anatofuz
parents:
diff changeset
8 ${CMAKE_CURRENT_SOURCE_DIR}/Unit/lit.site.cfg.py.in
anatofuz
parents:
diff changeset
9 ${CMAKE_CURRENT_BINARY_DIR}/Unit/lit.site.cfg.py)
anatofuz
parents:
diff changeset
10 list(APPEND INTERCEPTION_TESTSUITES ${CMAKE_CURRENT_BINARY_DIR}/Unit)
anatofuz
parents:
diff changeset
11 list(APPEND INTERCEPTION_TEST_DEPS InterceptionUnitTests)
anatofuz
parents:
diff changeset
12 endif()
anatofuz
parents:
diff changeset
13
anatofuz
parents:
diff changeset
14 add_lit_testsuite(check-interception "Running the Interception tests"
anatofuz
parents:
diff changeset
15 ${INTERCEPTION_TESTSUITES}
anatofuz
parents:
diff changeset
16 DEPENDS ${INTERCEPTION_TEST_DEPS})
anatofuz
parents:
diff changeset
17 set_target_properties(check-interception PROPERTIES FOLDER "Compiler-RT Misc")