From: Timo Heister Date: Fri, 15 Nov 2013 21:10:16 +0000 (+0000) Subject: fix test output X-Git-Tag: v8.1.0~276 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=40d83959607097e8e94c139f89ba624b5faa3058;p=dealii.git fix test output git-svn-id: https://svn.dealii.org/trunk@31676 0785d39b-7218-0410-832d-ea1e28bc413d --- 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.")