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:
parent
c1ea77dab1
commit
4de435dd54
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue