]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Remove test. The functionality of this test can not be verified if we work in directo...
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 9 Oct 2013 19:01:57 +0000 (19:01 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 9 Oct 2013 19:01:57 +0000 (19:01 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_port_the_testsuite@31190 0785d39b-7218-0410-832d-ea1e28bc413d

tests/base/path_search.cc [deleted file]
tests/base/path_search.output [deleted file]

diff --git a/tests/base/path_search.cc b/tests/base/path_search.cc
deleted file mode 100644 (file)
index 76e3a0e..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-// ---------------------------------------------------------------------
-// $Id$
-//
-// Copyright (C) 2005 - 2013 by the deal.II authors
-//
-// This file is part of the deal.II library.
-//
-// The deal.II library is free software; you can use it, redistribute
-// it, and/or modify it under the terms of the GNU Lesser General
-// Public License as published by the Free Software Foundation; either
-// version 2.1 of the License, or (at your option) any later version.
-// The full text of the license can be found in the file LICENSE at
-// the top level of the deal.II distribution.
-//
-// ---------------------------------------------------------------------
-
-
-#include "../tests.h"
-#include <deal.II/base/path_search.h>
-#include <deal.II/base/logstream.h>
-
-#include <string>
-
-int main()
-{
-  char tmp[1000];
-  getcwd(tmp,1000);
-  std::string path(tmp);
-  chdir(SOURCE_DIR);
-  std::ofstream logfile((path+"/output").c_str());
-  deallog.attach(logfile);
-  deallog.depth_console(0);
-  deallog.threshold_double(1.e-10);
-
-  PathSearch::add_class("CC");
-
-  // Open with full debugging
-  PathSearch cc("CC", 3);
-  cc.add_path("../");
-  cc.add_path("../scripts/", PathSearch::front);
-  cc.add_suffix(".c");
-  cc.add_suffix(".cc");
-
-  deallog << cc.find("path_search.cc") << std::endl;
-  deallog << cc.find("path_search") << std::endl;
-  cc.add_suffix(".h", PathSearch::after_none);
-  deallog << cc.find("tests") << std::endl;
-  cc.show(deallog);
-
-  PathSearch mesh("MESH", 3);
-  mesh.add_path("../bits/");
-  mesh.show(deallog);
-  std::ifstream in(mesh.find("grid_in_msh_01.2d").c_str());
-  std::string line;
-  for (unsigned int i=0; i<4; ++i)
-    {
-      in >> line;
-      deallog << ' ' << line;
-    }
-  deallog << std::endl;
-}
diff --git a/tests/base/path_search.output b/tests/base/path_search.output
deleted file mode 100644 (file)
index 893d0f7..0000000
+++ /dev/null
@@ -1,72 +0,0 @@
-
-DEAL::PathSearch[CC] 3 directories 3 suffixes
-DEAL::PathSearch[CC] 3 directories
-DEAL::PathSearch[CC] trying ../scripts/path_search.cc
-DEAL::PathSearch[CC] trying path_search.cc
-DEAL::PathSearch[CC] opened path_search.cc
-DEAL::path_search.cc
-DEAL::PathSearch[CC] 3 directories 3 suffixes
-DEAL::PathSearch[CC] 3 directories
-DEAL::PathSearch[CC] trying ../scripts/path_search
-DEAL::PathSearch[CC] trying path_search
-DEAL::PathSearch[CC] opened path_search
-DEAL::path_search
-DEAL::PathSearch[CC] 3 directories 4 suffixes
-DEAL::PathSearch[CC] 3 directories
-DEAL::PathSearch[CC] trying ../scripts/tests
-DEAL::PathSearch[CC] trying tests
-DEAL::PathSearch[CC] trying ../tests
-DEAL::PathSearch[CC] 3 directories
-DEAL::PathSearch[CC] trying ../scripts/tests
-DEAL::PathSearch[CC] trying ../scripts/tests.h
-DEAL::PathSearch[CC] trying tests
-DEAL::PathSearch[CC] trying tests.h
-DEAL::PathSearch[CC] trying ../tests
-DEAL::PathSearch[CC] trying ../tests.h
-DEAL::PathSearch[CC] opened ../tests.h
-DEAL::../tests.h
-DEAL::DEAL_II_CCPATH="../scripts/::../"
-DEAL:: Suffixes "" ".h" ".c" ".cc"
-DEAL::DEAL_II_MESHPATH=":../bits/"
-DEAL:: Suffixes "" ".inp" ".xda" ".dbmesh" ".dat" ".plt" ".nc" ".msh"
-DEAL::PathSearch[MESH] 2 directories 8 suffixes
-DEAL::PathSearch[MESH] 2 directories
-DEAL::PathSearch[MESH] trying grid_in_msh_01.2d
-DEAL::PathSearch[MESH] trying ../bits/grid_in_msh_01.2d
-DEAL::PathSearch[MESH] 2 directories
-DEAL::PathSearch[MESH] trying grid_in_msh_01.2d
-DEAL::PathSearch[MESH] trying grid_in_msh_01.2d.inp
-DEAL::PathSearch[MESH] trying ../bits/grid_in_msh_01.2d
-DEAL::PathSearch[MESH] trying ../bits/grid_in_msh_01.2d.inp
-DEAL::PathSearch[MESH] 2 directories
-DEAL::PathSearch[MESH] trying grid_in_msh_01.2d
-DEAL::PathSearch[MESH] trying grid_in_msh_01.2d.xda
-DEAL::PathSearch[MESH] trying ../bits/grid_in_msh_01.2d
-DEAL::PathSearch[MESH] trying ../bits/grid_in_msh_01.2d.xda
-DEAL::PathSearch[MESH] 2 directories
-DEAL::PathSearch[MESH] trying grid_in_msh_01.2d
-DEAL::PathSearch[MESH] trying grid_in_msh_01.2d.dbmesh
-DEAL::PathSearch[MESH] trying ../bits/grid_in_msh_01.2d
-DEAL::PathSearch[MESH] trying ../bits/grid_in_msh_01.2d.dbmesh
-DEAL::PathSearch[MESH] 2 directories
-DEAL::PathSearch[MESH] trying grid_in_msh_01.2d
-DEAL::PathSearch[MESH] trying grid_in_msh_01.2d.dat
-DEAL::PathSearch[MESH] trying ../bits/grid_in_msh_01.2d
-DEAL::PathSearch[MESH] trying ../bits/grid_in_msh_01.2d.dat
-DEAL::PathSearch[MESH] 2 directories
-DEAL::PathSearch[MESH] trying grid_in_msh_01.2d
-DEAL::PathSearch[MESH] trying grid_in_msh_01.2d.plt
-DEAL::PathSearch[MESH] trying ../bits/grid_in_msh_01.2d
-DEAL::PathSearch[MESH] trying ../bits/grid_in_msh_01.2d.plt
-DEAL::PathSearch[MESH] 2 directories
-DEAL::PathSearch[MESH] trying grid_in_msh_01.2d
-DEAL::PathSearch[MESH] trying grid_in_msh_01.2d.nc
-DEAL::PathSearch[MESH] trying ../bits/grid_in_msh_01.2d
-DEAL::PathSearch[MESH] trying ../bits/grid_in_msh_01.2d.nc
-DEAL::PathSearch[MESH] 2 directories
-DEAL::PathSearch[MESH] trying grid_in_msh_01.2d
-DEAL::PathSearch[MESH] trying grid_in_msh_01.2d.msh
-DEAL::PathSearch[MESH] trying ../bits/grid_in_msh_01.2d
-DEAL::PathSearch[MESH] trying ../bits/grid_in_msh_01.2d.msh
-DEAL::PathSearch[MESH] opened ../bits/grid_in_msh_01.2d.msh
-DEAL:: $NOD 4 1 0

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.