From b67d35c5bdbfe24fa05c6885356436621b592461 Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Mon, 19 Mar 2018 22:45:09 -0500 Subject: [PATCH] tests: make distributed_grids/1d_grid robust --- tests/distributed_grids/1d_grid.cc | 2 +- tests/distributed_grids/1d_grid.debug.output | 11 +---------- 2 files changed, 2 insertions(+), 11 deletions(-) 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 -- 2.39.5