From ac25c5f2f6ae7d303ea33a35487862f5b5aefff6 Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Tue, 20 Jun 2023 14:06:07 -0500 Subject: [PATCH] Test mpi/hp_cell_weights_03: 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_03.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/mpi/hp_cell_weights_03.cc b/tests/mpi/hp_cell_weights_03.cc index 83492ee580..c59fbff275 100644 --- a/tests/mpi/hp_cell_weights_03.cc +++ b/tests/mpi/hp_cell_weights_03.cc @@ -113,6 +113,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