[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git] / clang-tools-extra / pseudo / test / CMakeLists.txt
blob712527f78140e0ae3699bcfcababa07e17b85f2e
1 set(CLANG_PSEUDO_TEST_DEPS
2   clang-pseudo
3   clang-pseudo-fuzzer
4   ClangPseudoTests
5   )
7 foreach(dep FileCheck not count)
8   if(TARGET ${dep})
9     list(APPEND CLANG_PSEUDO_TEST_DEPS ${dep})
10   endif()
11 endforeach()
13 configure_lit_site_cfg(
14   ${CMAKE_CURRENT_SOURCE_DIR}/lit.site.cfg.py.in
15   ${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg.py
16   MAIN_CONFIG
17   ${CMAKE_CURRENT_SOURCE_DIR}/lit.cfg.py
18   )
20 configure_lit_site_cfg(
21   ${CMAKE_CURRENT_SOURCE_DIR}/Unit/lit.site.cfg.py.in
22   ${CMAKE_CURRENT_BINARY_DIR}/Unit/lit.site.cfg.py
23   MAIN_CONFIG
24   ${CMAKE_CURRENT_SOURCE_DIR}/Unit/lit.cfg.py
25   )
27 add_lit_testsuite(check-clang-pseudo "Running the clang-pseudo regression tests"
28   ${CMAKE_CURRENT_BINARY_DIR}
29   DEPENDS ${CLANG_PSEUDO_TEST_DEPS})