]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Tests: update quick test error message
authorMatthias Maier <tamiko@43-1.org>
Sat, 10 Dec 2022 07:42:07 +0000 (01:42 -0600)
committerMatthias Maier <tamiko@43-1.org>
Mon, 12 Dec 2022 19:42:00 +0000 (13:42 -0600)
tests/run_quick_tests.cmake

index 76dfc6e20698102cd3ddb5864379c083e27059c1..e64b84059ad1a059af5bbdb917f7c80e5c986a64 100644 (file)
@@ -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}")

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.