]> https://gitweb.dealii.org/ - dealii.git/commitdiff
CMake: return a non-zero exit code when quick tests fail
authorMatthias Maier <tamiko@43-1.org>
Mon, 19 Dec 2022 16:00:34 +0000 (10:00 -0600)
committerMatthias Maier <tamiko@43-1.org>
Mon, 19 Dec 2022 23:44:29 +0000 (17:44 -0600)
tests/run_quick_tests.cmake

index e64b84059ad1a059af5bbdb917f7c80e5c986a64..4f79df5969aae3099ea8500395b200e3d28920a4 100644 (file)
@@ -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()

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.