Browse Source

Output on failure for tests

tempestpy_adaptions
Matthias Volk 5 years ago
parent
commit
3051559ea8
  1. 2
      CMakeLists.txt

2
CMakeLists.txt

@ -493,7 +493,7 @@ include(CTest)
# Compiles all tests # Compiles all tests
add_custom_target(tests) add_custom_target(tests)
# Compiles and runs all tests # Compiles and runs all tests
add_custom_target(check COMMAND ${CMAKE_CTEST_COMMAND})
add_custom_target(check COMMAND ${CMAKE_CTEST_COMMAND} --output-on-failure)
set(CMAKE_CTEST_COMMAND_VERBOSE ${CMAKE_CTEST_COMMAND} -V) set(CMAKE_CTEST_COMMAND_VERBOSE ${CMAKE_CTEST_COMMAND} -V)
add_custom_target(check-verbose COMMAND ${CMAKE_CTEST_COMMAND_VERBOSE}) add_custom_target(check-verbose COMMAND ${CMAKE_CTEST_COMMAND_VERBOSE})
add_dependencies(check tests) add_dependencies(check tests)

Loading…
Cancel
Save