From: heister Date: Fri, 15 Feb 2013 22:11:25 +0000 (+0000) Subject: fix tests (throw in assert change) X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d3f7d5d842954d2a88b3225c8ecddd097f1539e;p=dealii-svn.git fix tests (throw in assert change) git-svn-id: https://svn.dealii.org/trunk@28410 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/lac/constraints_c1.cc b/tests/lac/constraints_c1.cc index 7ad414bb6a..338eb1eef5 100644 --- a/tests/lac/constraints_c1.cc +++ b/tests/lac/constraints_c1.cc @@ -126,7 +126,13 @@ setup_constraints(const DoFHandler& dof_handler) deallog << "Closing" << std::endl; deal_II_exceptions::disable_abort_on_exception(); - constraints.close(); + try + { + constraints.close(); + } + catch (...) + { + } deallog << "Closed" << std::endl; } diff --git a/tests/lac/constraints_c1_02.cc b/tests/lac/constraints_c1_02.cc index 09f25121ec..a26fb1519a 100644 --- a/tests/lac/constraints_c1_02.cc +++ b/tests/lac/constraints_c1_02.cc @@ -49,8 +49,15 @@ run() deallog << "Closing" << std::endl; deal_II_exceptions::disable_abort_on_exception(); - constraints.close(); + try + { + constraints.close(); + } + catch (...) + { + } + deallog << "Closed" << std::endl; }