Previously 'make test' would return 0 regardless of whether or not any
quick tests failed.
## ---------------------------------------------------------------------
##
-## Copyright (C) 2013 by the deal.II authors
+## Copyright (C) 2013 - 2016 by the deal.II authors
##
## This file is part of the deal.II library.
##
ENDFOREACH()
+ # The CMake command MESSAGE(SEND_ERROR ...) is, to the best of the authors'
+ # knowledge, the only way to set the exit status of CMake to a nonzero value.
+ # If we used MESSAGE(SEND_ERROR ...) at the top (with the actual error
+ # message) then subsequent messages (i.e., the test specific help) would not
+ # be printed. Hence, do it down here.
+ MESSAGE(SEND_ERROR "")
+
ENDIF()
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