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

tests/deal.II/grid_in_msh_version_1.cc

index e04525c6ad8262cd4a2a44170c598505ff5975d4..dc99e49d33717042e6a277bb5d12efa7436ba029 100644 (file)
@@ -46,7 +46,10 @@ 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.