Add consistent to llvm and clang target name to run the testsuite.

This commit is contained in:
Vassil Vassilev 2016-07-08 11:16:27 +02:00 committed by sftnight
parent d31d2aede1
commit af2cded628

View File

@ -67,7 +67,7 @@ if(PYTHONINTERP_FOUND)
add_custom_target(cling-test.deps)
set_target_properties(cling-test.deps PROPERTIES FOLDER "Cling tests")
add_custom_target(cling-test
add_custom_target(check-cling
COMMAND ${PYTHON_EXECUTABLE}
${LIT}
--param cling_site_config=${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg
@ -78,6 +78,10 @@ if(PYTHONINTERP_FOUND)
\$\(if $(TESTDIRS),$(TESTDIRS),.\)
COMMENT "Running Cling regression tests")
# Add a legacy target spelling: cling-test
add_custom_target(cling-test)
add_dependencies(cling-test check-cling)
add_custom_command(OUTPUT cling-headers.stamp
COMMAND ${CMAKE_COMMAND} -E copy_directory
${CMAKE_CURRENT_SOURCE_DIR}/../../llvm/src/include/llvm