]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Add something to the output.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 25 Oct 2010 00:27:38 +0000 (00:27 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 25 Oct 2010 00:27:38 +0000 (00:27 +0000)
git-svn-id: https://svn.dealii.org/trunk@22469 0785d39b-7218-0410-832d-ea1e28bc413d

tests/distributed_grids/anisotropic.cc

index b08cd16bd090fb5df275fd0766cf345687f321fd..d302be359a1871a89e796928beeab635bc0bf920 100644 (file)
@@ -36,6 +36,7 @@ void test(std::ostream& /*out*/)
   GridGenerator::hyper_cube(tr);
   tr.begin_active()->set_refine_flag(RefinementCase<dim>::cut_x);
 
+  bool caught = false;
   try
     {
       tr.execute_coarsening_and_refinement ();
@@ -44,7 +45,12 @@ void test(std::ostream& /*out*/)
     {
       deallog << "Caught exception:" << std::endl;
       deallog << e.what() << std::endl;
+
+      caught = true;
     }
+
+  if (caught != true)
+    deallog << "FAIL" << 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.