]> https://gitweb.dealii.org/ - dealii.git/commitdiff
tests: make distributed_grids/1d_grid robust 6069/head
authorMatthias Maier <tamiko@43-1.org>
Tue, 20 Mar 2018 03:45:09 +0000 (22:45 -0500)
committerMatthias Maier <tamiko@43-1.org>
Tue, 20 Mar 2018 03:45:09 +0000 (22:45 -0500)
tests/distributed_grids/1d_grid.cc
tests/distributed_grids/1d_grid.debug.output

index 5122682403240a767084b21dfc94145af0b9ff5c..a42f2ecf5c6bc44e199297e45578db48ef549eab 100644 (file)
@@ -33,6 +33,6 @@ int main(int argc, char *argv[])
     }
   catch (const std::exception &exc)
     {
-      deallog << exc.what() << std::endl;
+      deallog << "This test has to throw an exception" << std::endl;
     }
 }
index 4b0ba416e0433fe751d63f0952ffc7b20e7f646a..30fd7055e569173423018b61711272c41426aeb7 100644 (file)
@@ -1,11 +1,2 @@
 
-DEAL::
---------------------------------------------------------
-An error occurred in file <tria.cc> in function
-    dealii::parallel::distributed::Triangulation<1, 1>::Triangulation(MPI_Comm, const typename dealii::Triangulation<1, spacedim>::MeshSmoothing, const dealii::parallel::distributed::Triangulation<1, spacedim>::Settings) [dim = 1, spacedim = 1]
-The violated condition was: 
-    false
-Additional information: 
-    (none)
---------------------------------------------------------
-
+DEAL::This test has to throw an exception

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.