Showing test output only on failure
This commit is contained in:
parent
6a8dea3de9
commit
bd7ecf0a90
@ -45,5 +45,5 @@ if (NOT DEFINED CMAKE_CXX_STANDARD)
|
||||
set_target_properties(yaml-cpp-tests PROPERTIES CXX_STANDARD 11)
|
||||
endif()
|
||||
|
||||
|
||||
add_custom_target(check COMMAND yaml-cpp-tests)
|
||||
add_test(yaml-cpp::test yaml-cpp-tests)
|
||||
add_custom_target(check COMMAND ${CMAKE_CTEST_COMMAND} --output-on-failure)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user