Lines Matching +full:lit +full:- +full:tests
2 # until the tests are run as we need to copy it into
3 # a copy of the tests folder
5 "${CMAKE_CURRENT_SOURCE_DIR}/tests/lit.site.cfg.in"
6 "${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg"
9 # Lit's test suite creates output files next to the sources which makes the
11 # To work around this the tests and the configuration file are copied into the
12 # build directory just before running them. The tests are not copied over at
14 # tests being run.
15 add_custom_target(prepare-check-lit
16 COMMAND ${CMAKE_COMMAND} -E remove_directory "${CMAKE_CURRENT_BINARY_DIR}/tests"
17 …COMMAND ${CMAKE_COMMAND} -E copy_directory "${CMAKE_CURRENT_SOURCE_DIR}/tests" "${CMAKE_CURRENT_BI…
18 …COMMAND ${CMAKE_COMMAND} -E copy "${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg" "${CMAKE_CURRENT_BINAR…
19 COMMENT "Preparing lit tests"
22 # Add rules for lit's own test suite
23 add_lit_testsuite(check-lit "Running lit's tests"
25 DEPENDS "FileCheck" "not" "prepare-check-lit"
29 set_target_properties(check-lit PROPERTIES FOLDER "LLVM/Tests")
30 set_target_properties(prepare-check-lit PROPERTIES FOLDER "LLVM/Tests")