]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Allow test to run also in release mode.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Tue, 24 Sep 2013 13:03:04 +0000 (13:03 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Tue, 24 Sep 2013 13:03:04 +0000 (13:03 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_port_the_testsuite@30910 0785d39b-7218-0410-832d-ea1e28bc413d

tests/codim_one/extract_boundary_mesh_01.cc

index a4c0fbb3453daf0f9933be2d29389def8d67b8fa..1acaf57cb9ab972c3d3434ce6575ece4ece2a4d8 100644 (file)
@@ -119,8 +119,8 @@ int main ()
     surface_to_volume_mapping
       = GridTools::extract_boundary_mesh (volume_mesh, boundary_mesh);
 
-    Assert (test_vertices_orientation(boundary_mesh, surface_to_volume_mapping,2),
-            ExcInternalError());
+    if (!test_vertices_orientation(boundary_mesh, surface_to_volume_mapping,2))
+      Assert (false, ExcInternalError());
     save_mesh(boundary_mesh);
   }
 

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.