From: Matthias Maier Date: Tue, 20 Jun 2023 19:08:06 +0000 (-0500) Subject: Test mpi/hp_cell_weights_04: signal failure with a nonzero exit status X-Git-Tag: v9.5.0-rc1~72^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8cf86a002394154b7c2eb2c30892b8c48d12597a;p=dealii.git 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. --- 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) {