From 8cf86a002394154b7c2eb2c30892b8c48d12597a Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Tue, 20 Jun 2023 14:08:06 -0500 Subject: [PATCH] Test mpi/hp_cell_weights_04: signal failure with a nonzero exit status As we no longer compare output files for this (metis based) test we have to signal an error condition (in this case we expect an exception to be thrown!) with a nonzero exit status. --- tests/mpi/hp_cell_weights_04.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/mpi/hp_cell_weights_04.cc b/tests/mpi/hp_cell_weights_04.cc index e03fd8a603..a5d98a3066 100644 --- a/tests/mpi/hp_cell_weights_04.cc +++ b/tests/mpi/hp_cell_weights_04.cc @@ -115,6 +115,9 @@ test() try { tria.execute_coarsening_and_refinement(); + deallog << "Error: we did not throw an exception when we should have" + << std::endl; + std::abort(); } catch (const ExceptionBase &e) { -- 2.39.5