From: Matthias Maier Date: Mon, 19 Dec 2022 16:00:34 +0000 (-0600) Subject: CMake: return a non-zero exit code when quick tests fail X-Git-Tag: v9.5.0-rc1~719^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e539c1308f88a7ea36b157224f5d2674910f23e4;p=dealii.git CMake: return a non-zero exit code when quick tests fail --- diff --git a/tests/run_quick_tests.cmake b/tests/run_quick_tests.cmake index e64b84059a..4f79df5969 100644 --- a/tests/run_quick_tests.cmake +++ b/tests/run_quick_tests.cmake @@ -95,4 +95,7 @@ recent version or use a different MPI library like MPICH.\n" ) endif() endforeach() + + # ensure that this script exits with a non-zero exit code + message(FATAL_ERROR "quick tests failed") endif()