]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Rename the tests to category/testname
authorMatthias Maier <tamiko@kyomu.43-1.org>
Wed, 21 Aug 2013 23:40:03 +0000 (23:40 +0000)
committerMatthias Maier <tamiko@kyomu.43-1.org>
Wed, 21 Aug 2013 23:40:03 +0000 (23:40 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_port_the_testsuite@30396 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/cmake/macros/macro_deal_ii_add_test.cmake
tests/codim_one/data_out_02.cc
tests/codim_one/fe_values_extractor_01.cc
tests/umfpack/CMakeLists.txt [new file with mode: 0644]

index babe0bf63d607cecf1aceed2ef92266726582e73..39434867edf8cec40ad5d50c61aba5ed9ef6f938 100644 (file)
@@ -112,14 +112,14 @@ MACRO(DEAL_II_ADD_TEST _category _test_name)
         )
 
 
-      ADD_TEST(NAME ${_test}
+      ADD_TEST(NAME ${_category}/${_test}
         COMMAND ${CMAKE_COMMAND}
           -DTEST=${_test}
           -DDEAL_II_BINARY_DIR=${CMAKE_BINARY_DIR}
           -P ${CMAKE_SOURCE_DIR}/cmake/scripts/run_test.cmake
         WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/${_test}
         )
-      SET_TESTS_PROPERTIES(${_test} PROPERTIES
+      SET_TESTS_PROPERTIES(${_category}/${_test} PROPERTIES
         LABEL "${_category}"
         TIMEOUT ${DEAL_II_TEST_TIME_LIMIT}
         )
index cde3b641340abef5d4ac3344fce84b8a8536233f..9b6a5c7618e10e06938a6c200e7f70fcdd88eef1 100644 (file)
@@ -53,7 +53,7 @@ int main ()
 
   GridIn<dim,dim+1> grid_in;
   grid_in.attach_triangulation (triangulation);
-  std::ifstream fname("grids/square.msh");
+  std::ifstream fname(SOURCE_DIR "grids/square.msh");
   grid_in.read_msh (fname);
 
   dof_handler.distribute_dofs (fe);
index 2a894accb8dd288f2400afc0aeea931e99a31278..941481177a6cbad746d7a8456d787c2a231eded8 100644 (file)
@@ -57,7 +57,7 @@ int main ()
 
   GridIn<dim,dim+1> grid_in;
   grid_in.attach_triangulation (triangulation);
-  std::ifstream fname("grids/square.msh");
+  std::ifstream fname(SOURCE_DIR "grids/square.msh");
   grid_in.read_msh (fname);
 
   dof_handler.distribute_dofs (fe);
diff --git a/tests/umfpack/CMakeLists.txt b/tests/umfpack/CMakeLists.txt
new file mode 100644 (file)
index 0000000..0efb828
--- /dev/null
@@ -0,0 +1 @@
+DEAL_II_PICKUP_TESTS()

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.