From: heister Date: Fri, 15 Feb 2013 23:03:03 +0000 (+0000) Subject: fix tests (throw in assert change) X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=766a52ebe0ce1db20014be3ed12e75ae06458208;p=dealii-svn.git fix tests (throw in assert change) git-svn-id: https://svn.dealii.org/trunk@28416 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/distributed_grids/anisotropic.cc b/tests/distributed_grids/anisotropic.cc index 5b0912c4cf..9f522cee74 100644 --- a/tests/distributed_grids/anisotropic.cc +++ b/tests/distributed_grids/anisotropic.cc @@ -36,7 +36,15 @@ void test(std::ostream& /*out*/) GridGenerator::hyper_cube(tr); tr.begin_active()->set_refine_flag(RefinementCase::cut_x); - tr.execute_coarsening_and_refinement (); + + try + { + tr.execute_coarsening_and_refinement (); + } + catch (...) + { + } + }