Always output test failures when they happen

With CMake 3.17+, we can specify arguments for ctest to use when run, so
always specify output-on-failure to always show the failed test output.
This commit is contained in:
Ian McInerney 2023-10-27 13:19:53 +01:00
parent 4d593aa21e
commit d78d4830e4
1 changed files with 1 additions and 0 deletions

View File

@ -1040,6 +1040,7 @@ add_custom_target( uninstall
include( CTest )
enable_testing()
list( APPEND CMAKE_CTEST_ARGUMENTS "--output-on-failure" )
#================================================
# Let CMake look in these directories for nested