From: Matthias Maier Date: Tue, 20 Mar 2018 03:45:09 +0000 (-0500) Subject: tests: make distributed_grids/1d_grid robust X-Git-Tag: v9.0.0-rc1~309^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b67d35c5bdbfe24fa05c6885356436621b592461;p=dealii.git tests: make distributed_grids/1d_grid robust --- diff --git a/tests/distributed_grids/1d_grid.cc b/tests/distributed_grids/1d_grid.cc index 5122682403..a42f2ecf5c 100644 --- a/tests/distributed_grids/1d_grid.cc +++ b/tests/distributed_grids/1d_grid.cc @@ -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; } } diff --git a/tests/distributed_grids/1d_grid.debug.output b/tests/distributed_grids/1d_grid.debug.output index 4b0ba416e0..30fd7055e5 100644 --- a/tests/distributed_grids/1d_grid.debug.output +++ b/tests/distributed_grids/1d_grid.debug.output @@ -1,11 +1,2 @@ -DEAL:: --------------------------------------------------------- -An error occurred in file 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