From 6d3f7d5d842954d2a88b3225c8ecddd097f1539e Mon Sep 17 00:00:00 2001 From: heister Date: Fri, 15 Feb 2013 22:11:25 +0000 Subject: [PATCH] fix tests (throw in assert change) git-svn-id: https://svn.dealii.org/trunk@28410 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/lac/constraints_c1.cc | 8 +++++++- tests/lac/constraints_c1_02.cc | 9 ++++++++- 2 files changed, 15 insertions(+), 2 deletions(-) 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; } -- 2.39.5