From 53e53d1cf154d67a2ddfbdd0fe8abaada248b073 Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Wed, 29 Aug 2012 21:26:11 +0000 Subject: [PATCH] update tests git-svn-id: https://svn.dealii.org/trunk@26167 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/fail/constraints_c1.cc | 3 +++ tests/fail/constraints_c1_02.cc | 2 ++ 2 files changed, 5 insertions(+) diff --git a/tests/fail/constraints_c1.cc b/tests/fail/constraints_c1.cc index dcec5fdb84..7ad414bb6a 100644 --- a/tests/fail/constraints_c1.cc +++ b/tests/fail/constraints_c1.cc @@ -8,6 +8,8 @@ // H2-elements implemented through constraints on the degrees of // freedom. After adding all constrained lines, the program hangs in // constraints.close(). +// This is because it contains a cycle. The test now checks that this +// is detected. #include @@ -123,6 +125,7 @@ setup_constraints(const DoFHandler& dof_handler) } deallog << "Closing" << std::endl; + deal_II_exceptions::disable_abort_on_exception(); constraints.close(); deallog << "Closed" << std::endl; } diff --git a/tests/fail/constraints_c1_02.cc b/tests/fail/constraints_c1_02.cc index ecf2898d67..09f25121ec 100644 --- a/tests/fail/constraints_c1_02.cc +++ b/tests/fail/constraints_c1_02.cc @@ -48,7 +48,9 @@ run() } deallog << "Closing" << std::endl; + deal_II_exceptions::disable_abort_on_exception(); constraints.close(); + deallog << "Closed" << std::endl; } -- 2.39.5