CMakeLists.txt: Add COMMENTs to both check targets

These are printed by CMake when starting these targets.

Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Uli Schlachter 2015-07-25 17:29:43 +02:00 committed by Daniel Hahler
parent c1ea77dab1
commit 4de435dd54
1 changed files with 2 additions and 0 deletions

View File

@ -326,11 +326,13 @@ if(BUSTED_EXECUTABLE)
add_custom_target(check-unit ALL add_custom_target(check-unit ALL
${BUSTED_EXECUTABLE} "--lpath=${CMAKE_BINARY_DIR}/lib/?.lua;${CMAKE_BINARY_DIR}/lib/?/init.lua;spec/?.lua" ${BUSTED_EXECUTABLE} "--lpath=${CMAKE_BINARY_DIR}/lib/?.lua;${CMAKE_BINARY_DIR}/lib/?/init.lua;spec/?.lua"
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
COMMENT "Running unit tests"
VERBATIM) VERBATIM)
endif() endif()
add_custom_target(check-integration add_custom_target(check-integration
"${CMAKE_SOURCE_DIR}/tests/run.sh" "${CMAKE_SOURCE_DIR}/tests/run.sh"
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
COMMENT "Running integration tests"
VERBATIM) VERBATIM)
if(BUSTED_EXECUTABLE) if(BUSTED_EXECUTABLE)
add_custom_target(check DEPENDS check-integration check-unit) add_custom_target(check DEPENDS check-integration check-unit)