From: David Wells Date: Sat, 30 Apr 2016 16:18:50 +0000 (-0400) Subject: Make the quick test error message more accurate. X-Git-Tag: v8.5.0-rc1~1063^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F2566%2Fhead;p=dealii.git Make the quick test error message more accurate. Errors occured, so this should be labeled as an error with the same style used elsewhere in the CMake configuration. --- diff --git a/tests/quick_tests/run.cmake b/tests/quick_tests/run.cmake index 94dc5471ec..349367e587 100644 --- a/tests/quick_tests/run.cmake +++ b/tests/quick_tests/run.cmake @@ -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