diff --git a/scripts/cmake/test/Test.cmake b/scripts/cmake/test/Test.cmake index d20fb8e3025..6d0b42d44e6 100644 --- a/scripts/cmake/test/Test.cmake +++ b/scripts/cmake/test/Test.cmake @@ -48,7 +48,10 @@ NotebookTest( TRUE ) -set(_ctest_parameter -T Test --force-new-ctest-process --output-on-failure) +# output 25 kb of tailed logs on failure +set(_ctest_parameter -T Test --force-new-ctest-process --output-on-failure + --test-output-size-failed 25 +) if(CMAKE_CONFIGURATION_TYPES) list(APPEND _ctest_parameter --build-config "$") endif()