]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Make the quick test error message more accurate. 2566/head
authorDavid Wells <wellsd2@rpi.edu>
Sat, 30 Apr 2016 16:18:50 +0000 (12:18 -0400)
committerDavid Wells <wellsd2@rpi.edu>
Sat, 30 Apr 2016 19:15:11 +0000 (15:15 -0400)
Errors occured, so this should be labeled as an error with the same
style used elsewhere in the CMake configuration.

tests/quick_tests/run.cmake

index 94dc5471ec06f65fc917d1690cce3d21d4374638..349367e5873c4970fb6deb9d90e0b1d5bbab1ea3 100644 (file)
@@ -21,12 +21,11 @@ SEPARATE_ARGUMENTS(ALL_TESTS)
 
 EXECUTE_PROCESS(COMMAND ${CMAKE_CTEST_COMMAND} --force-new-ctest-process --output-on-failure -O quicktests.log RESULT_VARIABLE res_var)
 
-if(NOT "${res_var}" STREQUAL "0")
-  MESSAGE( "
-
-*******************************     WARNING     *******************************
-
-Some of the tests failed!
+IF(NOT "${res_var}" STREQUAL "0")
+  MESSAGE("
+***************************************************************************
+**                 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

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.