]> https://gitweb.dealii.org/ - dealii.git/commitdiff
update tests
authorTimo Heister <timo.heister@gmail.com>
Wed, 29 Aug 2012 21:26:11 +0000 (21:26 +0000)
committerTimo Heister <timo.heister@gmail.com>
Wed, 29 Aug 2012 21:26:11 +0000 (21:26 +0000)
git-svn-id: https://svn.dealii.org/trunk@26167 0785d39b-7218-0410-832d-ea1e28bc413d

tests/fail/constraints_c1.cc
tests/fail/constraints_c1_02.cc

index dcec5fdb84cb06093081a99519c4c83673edb360..7ad414bb6a87cfe7f6645e59691e3cf9b8dc0e33 100644 (file)
@@ -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 <deal.II/base/job_identifier.h>
@@ -123,6 +125,7 @@ setup_constraints(const DoFHandler<dim>& dof_handler)
     }
 
   deallog << "Closing" << std::endl;
+  deal_II_exceptions::disable_abort_on_exception();
   constraints.close();
   deallog << "Closed" << std::endl;
 }
index ecf2898d67736ef781ac7f62ac358f0374185fac..09f25121ec3f56d93eecf581973c93274dfd8a75 100644 (file)
@@ -48,7 +48,9 @@ run()
   }
 
   deallog << "Closing" << std::endl;
+  deal_II_exceptions::disable_abort_on_exception();
   constraints.close();
+
   deallog << "Closed" << std::endl;
 
 }

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.