]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix a test.
authorBruno Turcksin <bruno.turcksin@gmail.com>
Thu, 19 Sep 2013 22:17:34 +0000 (22:17 +0000)
committerBruno Turcksin <bruno.turcksin@gmail.com>
Thu, 19 Sep 2013 22:17:34 +0000 (22:17 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_port_the_testsuite@30857 0785d39b-7218-0410-832d-ea1e28bc413d

tests/deal.II/grid_in_msh_03.cc

index 0fbe53bd04a8a106b0943bffe11e340e6bf02766..6786c3ad6fd9ac81ae287f6a955d93d8b14cd6d7 100644 (file)
@@ -46,7 +46,9 @@ void check_file (const std::string name,
   GridIn<dim> 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;

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.