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:
parent
4d593aa21e
commit
d78d4830e4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue