From: Matthias Maier Date: Sat, 10 Dec 2022 07:42:07 +0000 (-0600) Subject: Tests: update quick test error message X-Git-Tag: v9.5.0-rc1~733^2~2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=80ec94791d8a72c789fad1dfd8b4a87ec81dfaee;p=dealii.git Tests: update quick test error message --- diff --git a/tests/run_quick_tests.cmake b/tests/run_quick_tests.cmake index 76dfc6e206..e64b84059a 100644 --- a/tests/run_quick_tests.cmake +++ b/tests/run_quick_tests.cmake @@ -47,19 +47,25 @@ execute_process(COMMAND ${CMAKE_CTEST_COMMAND} -R "quick_tests/(step.debug|step.release|affinity|.*.${_build_type})" OUTPUT_VARIABLE _output ERROR_VARIABLE _output RESULT_VARIABLE _return_value ) +file(WRITE quick_tests.log ${_output}) message(${_output}) if(NOT "${_return_value}" STREQUAL "0") message(" -*************************************************************************** -** ** -** Error: Some of the quick tests failed. ** -** ** -*************************************************************************** +************************************************************************** +** ** +** Error: Some of the quick tests failed. ** +** ** +************************************************************************** -Please scroll up or check the file tests/quick_tests/quicktests.log for the -error messages. If you are unable to fix the problems, see the FAQ or write -to the mailing list linked at http://www.dealii.org\n" +Check the files quick_tests.log and Testing/Temporary/LastTest.log located +in your build directory for error messages. Alternatively, you can run all +failing quick tests again via + + $ ctest --rerun-failed --output-on-failure -R quick_tests/ + +If you are unable to fix this problem, write to the mailing list linked at +https://www.dealii.org\n" ) string(REPLACE "\n" ";" _output "${_output}")