From: Bruno Turcksin Date: Thu, 19 Sep 2013 22:09:33 +0000 (+0000) Subject: Fix a test. X-Git-Tag: v8.1.0~570^2~244 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f106379727d18eda296f607cfcb219872bb2d970;p=dealii.git Fix a test. git-svn-id: https://svn.dealii.org/branches/branch_port_the_testsuite@30856 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/deal.II/grid_in_msh_version_1.cc b/tests/deal.II/grid_in_msh_version_1.cc index e04525c6ad..dc99e49d33 100644 --- a/tests/deal.II/grid_in_msh_version_1.cc +++ b/tests/deal.II/grid_in_msh_version_1.cc @@ -46,7 +46,10 @@ void check_file (const std::string name, GridIn gi; gi.attach_triangulation (tria); gi.read(name, format); - deallog << name + std::string source_dir(SOURCE_DIR "/"); + std::string relative_name(name.begin()+source_dir.size(),name.end()); + + deallog << relative_name << '\t' << tria.n_vertices() << '\t' << tria.n_cells() << std::endl;