From 80ec94791d8a72c789fad1dfd8b4a87ec81dfaee Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Sat, 10 Dec 2022 01:42:07 -0600 Subject: [PATCH] Tests: update quick test error message --- tests/run_quick_tests.cmake | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) 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}") -- 2.39.5