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