From 40d83959607097e8e94c139f89ba624b5faa3058 Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Fri, 15 Nov 2013 21:10:16 +0000 Subject: [PATCH] fix test output git-svn-id: https://svn.dealii.org/trunk@31676 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/deal.II/no_flux_13.cc | 9 ++++++++ tests/deal.II/no_flux_13.debug.output | 31 +-------------------------- 2 files changed, 10 insertions(+), 30 deletions(-) diff --git a/tests/deal.II/no_flux_13.cc b/tests/deal.II/no_flux_13.cc index c87f079be0..9cfaa11e4b 100644 --- a/tests/deal.II/no_flux_13.cc +++ b/tests/deal.II/no_flux_13.cc @@ -56,10 +56,19 @@ void test() ConstraintMatrix constraints; std::set no_normal_flux_boundaries; no_normal_flux_boundaries.insert (1); + deal_II_exceptions::disable_abort_on_exception(); + try + { + VectorTools::compute_no_normal_flux_constraints (dof_handler, 0, no_normal_flux_boundaries, constraints); + } + catch (ExceptionBase &e) + { + deallog << e.get_exc_name() << std::endl; + } constraints.close(); constraints.print(deallog.get_file_stream ()); diff --git a/tests/deal.II/no_flux_13.debug.output b/tests/deal.II/no_flux_13.debug.output index 543e413fad..a3ea072984 100644 --- a/tests/deal.II/no_flux_13.debug.output +++ b/tests/deal.II/no_flux_13.debug.output @@ -1,31 +1,2 @@ - 202 = 0 - 566 = 0 - 570 = 0 - 576 = 0 - 1098 = 0 - 1100 = 0 - 1104 = 0 - 1616 = 0 - 1620 = 0 - 1708 = 0 - 1918 = 0 - 1920 = 0 - 1922 = 0 - 1930 = 0 - 1962 = 0 - 2138 = 0 - 2140 = 0 - 2156 = 0 - 2160 = 0 - 2196 = 0 - 2198 = 0 - 2246 = 0 - 2416 = 0 - 2892 = 0 - 2894 = 0 - 2902 = 0 - 2906 = 0 - 2912 = 0 - 2918 = 0 -DEAL::OK +DEAL::ExcMessage("Error: the finite element has not enough components " "to define a normal direction.") -- 2.39.5