]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix a test.
authorturcksin <turcksin@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 19 Sep 2013 22:17:34 +0000 (22:17 +0000)
committerturcksin <turcksin@0785d39b-7218-0410-832d-ea1e28bc413d>
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.