]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Convert fail tests to ctest.
authorBruno Turcksin <bruno.turcksin@gmail.com>
Tue, 27 Aug 2013 19:15:43 +0000 (19:15 +0000)
committerBruno Turcksin <bruno.turcksin@gmail.com>
Tue, 27 Aug 2013 19:15:43 +0000 (19:15 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_port_the_testsuite@30509 0785d39b-7218-0410-832d-ea1e28bc413d

38 files changed:
tests/CMakeLists.txt
tests/fail/CMakeLists.txt [new file with mode: 0644]
tests/fail/Makefile [deleted file]
tests/fail/abf_approximation_01.cc
tests/fail/circular_01.cc
tests/fail/fe_nothing_04.cc
tests/fail/hp_constraints_q_08.cc
tests/fail/hp_constraints_q_system_08.cc
tests/fail/hp_constraints_q_system_x_08.cc
tests/fail/hp_constraints_rt_01.cc
tests/fail/hp_constraints_rt_02.cc
tests/fail/hp_constraints_rt_03.cc
tests/fail/hp_constraints_rt_04.cc
tests/fail/hp_constraints_rt_05.cc
tests/fail/hp_constraints_rt_06.cc
tests/fail/injection_dgp.cc
tests/fail/injection_dgp_nonparametric.cc
tests/fail/injection_nedelec.cc
tests/fail/injection_q_hierarchical.cc
tests/fail/injection_rt.cc
tests/fail/project_abf_01.cc
tests/fail/project_abf_02.cc
tests/fail/project_abf_03.cc
tests/fail/project_abf_04.cc
tests/fail/project_abf_05.cc
tests/fail/project_dgp_nonparametric_01.cc
tests/fail/project_dgp_nonparametric_02.cc
tests/fail/project_dgp_nonparametric_03.cc
tests/fail/project_dgp_nonparametric_04.cc
tests/fail/project_dgp_nonparametric_05.cc
tests/fail/project_rt_03.cc
tests/fail/rt_4.cc
tests/fail/rt_6.cc
tests/fail/rt_crash_01.cc
tests/fail/rt_distorted_01.cc
tests/fail/rt_distorted_02.cc
tests/fail/vectors_boundary_rhs_hp_02.cc
tests/fail/vectors_rhs_hp_02.cc

index 4c1d6234d17cbdf2afa671bc6c38c3ec626f654b..f07834677ade234c84d4ceee494f25001bf12e87 100644 (file)
@@ -78,7 +78,7 @@ ADD_SUBDIRECTORY(base)
 ADD_SUBDIRECTORY(bits)
 ADD_SUBDIRECTORY(codim_one)
 ADD_SUBDIRECTORY(deal.II)
-#fail
+ADD_SUBDIRECTORY(fail)
 ADD_SUBDIRECTORY(fe)
 ADD_SUBDIRECTORY(grid)
 ADD_SUBDIRECTORY(hp)
@@ -88,6 +88,7 @@ ADD_SUBDIRECTORY(matrix_free)
 ADD_SUBDIRECTORY(multigrid)
 ADD_SUBDIRECTORY(serialization)
 
+# These three are a little bit special
 #all-headers
 #benchmarks
 #mesh_converter
diff --git a/tests/fail/CMakeLists.txt b/tests/fail/CMakeLists.txt
new file mode 100644 (file)
index 0000000..0efb828
--- /dev/null
@@ -0,0 +1 @@
+DEAL_II_PICKUP_TESTS()
diff --git a/tests/fail/Makefile b/tests/fail/Makefile
deleted file mode 100644 (file)
index 67c80c3..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-############################################################
-# Makefile,v 1.15 2002/06/13 12:51:13 hartmann Exp
-# Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2008, 2010 by the deal.II authors
-############################################################
-
-include ../Makefile.paths
-include $D/common/Make.global_options
-include ../Makefile.rules
--include Makefile.depend
--include Makefile.tests
index 4dc074505aceff204a2f30f61c9d7f12753ae721..65640ff9f0f6a3bc0f10bb564a6ec82a39ff6629 100644 (file)
@@ -32,7 +32,7 @@
 
 #include <fstream>
 
-std::ofstream logfile ("abf_approximation_01/output");
+std::ofstream logfile ("output");
 
 char buf[1000];
 
index 7bdbe717d9430fdd3b0c2531a6eba9501630c236..98f2d3be5ace5a5fdd884a6c4a1327d6e7ed44a4 100644 (file)
@@ -18,7 +18,7 @@
 
 // a modified version of step-27 that crashes due to circular constraints
 
-char logname[] = "circular_01/output";
+char logname[] = "output";
 
 
 #include "../tests.h"
index 9bdfe25f9807f59810aa0fa38db56008d920d9e1..2c81ce60f28067e4a9cb02b93b3df1ba672d3339 100644 (file)
@@ -99,7 +99,7 @@ void test ()
 
 int main ()
 {
-  std::ofstream logfile("fe_nothing_04/output");
+  std::ofstream logfile("output");
   logfile.precision(2);
 
   deallog.attach(logfile);
index eb5c6bdf4942eb1d03571d456f09da5ad2cde443..66549f81500bcf9a4e7444dc4ea49dc3d7bb1126 100644 (file)
@@ -18,7 +18,7 @@
 
 // check that computation of hp constraints works for Q elements correctly
 
-char logname[] = "hp_constraints_q_08/output";
+char logname[] = "output";
 
 
 #include "../hp/hp_constraints_common.h"
index 40c046a755d29de8ca3773edb6d910e9ec89bf3e..d440fcc8f194c1fda7315796b55b76df77e2f7d9 100644 (file)
@@ -19,7 +19,7 @@
 // check that computation of hp constraints works for FESystem(FE_Q) elements correctly
 // on a uniformly refined mesh for functions of degree q
 
-char logname[] = "hp_constraints_q_system_08/output";
+char logname[] = "output";
 
 
 #include "../hp/hp_constraints_common.h"
index 0434b1f8a4140466731ff3ec383aceb0969ab079..9cef4dc01ef66d0bc7fe5c35d4dbe2d44f534436 100644 (file)
@@ -22,7 +22,7 @@
 // these tests check that we can deal with FESystem(FE_Q(p),FE_DGQ(q)) for
 // different p,q
 
-char logname[] = "hp_constraints_q_system_x_08/output";
+char logname[] = "output";
 
 
 #include "../hp/hp_constraints_common.h"
index dfda7338c64bad33a6262a66e33f42a0df337ee2..19771e8837f2793bb9b171b2f9fea9e57e4aa96c 100644 (file)
@@ -18,7 +18,7 @@
 
 // check that computation of hp constraints works for RT elements correctly
 
-char logname[] = "hp_constraints_rt_01/output";
+char logname[] = "output";
 
 
 #include "../hp/hp_constraints_common.h"
index ebb4ae05db2ebbcd82645b44f5c36a2fb7191bc2..cd840857cedcd76587aba89e235d1951341ff13d 100644 (file)
@@ -18,7 +18,7 @@
 
 // check that computation of hp constraints works for RT elements correctly
 
-char logname[] = "hp_constraints_rt_02/output";
+char logname[] = "output";
 
 
 #include "../hp/hp_constraints_common.h"
index 2fba2ce0f1bec8474cc67c5b6cd7e35777df0190..affc97645671cbc1bdc40c0e40a23b1821405402 100644 (file)
@@ -18,7 +18,7 @@
 
 // check that computation of hp constraints works for RT elements correctly
 
-char logname[] = "hp_constraints_rt_03/output";
+char logname[] = "output";
 
 
 #include "../hp/hp_constraints_common.h"
index 808e1ea861821d67e54b3307dc62a39cd761f881..283ee4971fdd22b7c5914e4720d503d9af7bd017 100644 (file)
@@ -18,7 +18,7 @@
 
 // check that computation of hp constraints works for RT elements correctly
 
-char logname[] = "hp_constraints_rt_04/output";
+char logname[] = "output";
 
 
 #include "../hp/hp_constraints_common.h"
index e5a7dd7042d0940f60af3d231ae1adf23f4a8ad7..c728520bd1c31058031c300ee9a975fd5f7014a0 100644 (file)
@@ -18,7 +18,7 @@
 
 // check that computation of hp constraints works for RT elements correctly
 
-char logname[] = "hp_constraints_rt_05/output";
+char logname[] = "output";
 
 
 #include "../hp/hp_constraints_common.h"
index 814d0a72d53d66c557119ae97b93019889ba9450..7a70ffafffc31c38132025edad0f8c8c2ad9cf04 100644 (file)
@@ -18,7 +18,7 @@
 
 // check that computation of hp constraints works for RT elements correctly
 
-char logname[] = "hp_constraints_rt_06/output";
+char logname[] = "output";
 
 
 #include "../hp/hp_constraints_common.h"
index f342d6a773a80aadc14c4cae0a14acf43bdd0e96..3908b1eea55807d893668c7d1358bf3df580b6d2 100644 (file)
@@ -16,7 +16,7 @@
 
 
 
-char logname[] = "injection_dgp/output";
+char logname[] = "output";
 
 
 #include "../fe/injection_common.h"
index 9be137ec6226db867412ddf066a2a6cd994df53f..cd2e366160e0e6733570e8ea8e6fc5e7ebf7cdce 100644 (file)
@@ -16,7 +16,7 @@
 
 
 
-char logname[] = "injection_dgp_nonparametric/output";
+char logname[] = "output";
 
 
 #include "../fe/injection_common.h"
index c11ee8fbac85fc496c6c874ec144f3d0d40dce0d..67b50726b99f186117e8ae78cb4ed671fa897bd0 100644 (file)
@@ -16,7 +16,7 @@
 
 
 
-char logname[] = "injection_nedelec/output";
+char logname[] = "output";
 
 
 #include "../fe/injection_common.h"
index a250abe41854ff04716652641aec91c0568d9795..a3a3c409ec8f3123805608ee16e5aa197215bda2 100644 (file)
@@ -16,7 +16,7 @@
 
 
 
-char logname[] = "injection_q_hierarchical/output";
+char logname[] = "output";
 
 
 #include "../fe/injection_common.h"
index b982c62d23a5e1eb65b460ca6baed3ab7d7a59a0..0093f7bf606bd19fb86d5fddfca3324863f60337 100644 (file)
@@ -16,7 +16,7 @@
 
 
 
-char logname[] = "injection_rt/output";
+char logname[] = "output";
 
 
 #include "../fe/injection_common.h"
index 696107443f160bb606d801b635f75559dc404c87..8ebc5a16ddc02ad1ebc3901d94a777b1ecdd9652 100644 (file)
@@ -18,7 +18,7 @@
 
 // check that VectorTools::project works for ABF elements correctly
 
-char logname[] = "project_abf_01/output";
+char logname[] = "output";
 
 
 #include "../deal.II/project_common.h"
index 1e76b2417bc8320663763574304823bce171384c..71a42028442ebf27519b5687c2817f491f391ac4 100644 (file)
@@ -18,7 +18,7 @@
 
 // check that VectorTools::project works for ABF elements correctly
 
-char logname[] = "project_abf_02/output";
+char logname[] = "output";
 
 
 #include "../deal.II/project_common.h"
index de47f4a66620629a39d2612fb2b93e1d1ddfde72..5654a81900d8c398045fed78e6d6c9b5bd4d34b2 100644 (file)
@@ -18,7 +18,7 @@
 
 // check that VectorTools::project works for ABF elements correctly
 
-char logname[] = "project_abf_03/output";
+char logname[] = "output";
 
 
 #include "../deal.II/project_common.h"
index 2206a0b7809d1006fbda077ed20e5e82a62b62dd..e507b86cec771df5805574e21497cac0b99b7169 100644 (file)
@@ -18,7 +18,7 @@
 
 // check that VectorTools::project works for ABF elements correctly
 
-char logname[] = "project_abf_04/output";
+char logname[] = "output";
 
 
 #include "../deal.II/project_common.h"
index 050c873de6097ba992a2b1280f6ed5e6a1f77f62..ff6be6f5af818b7d6c4c6563fdaf5a1419c0c50a 100644 (file)
@@ -18,7 +18,7 @@
 
 // check that VectorTools::project works for ABF elements correctly
 
-char logname[] = "project_abf_05/output";
+char logname[] = "output";
 
 
 #include "../deal.II/project_common.h"
index 457ac81bea24f82a17206615189601b066d6b854..ba34637d9620a5754b094b888208290528565daf 100644 (file)
@@ -19,7 +19,7 @@
 // check that VectorTools::project works for DGPNonparametric elements
 // correctly on a uniformly refined mesh for functions of degree q
 
-char logname[] = "project_dgp_nonparametric_01/output";
+char logname[] = "output";
 
 
 #include "../deal.II/project_common.h"
index 434c750ac70247db4e2bce9831d1b1f784ff367e..0b8db906473035ce883665120fab0592be6859e0 100644 (file)
@@ -19,7 +19,7 @@
 // check that VectorTools::project works for DGPNonparametric elements
 // correctly on a uniformly refined mesh for functions of degree q
 
-char logname[] = "project_dgp_nonparametric_02/output";
+char logname[] = "output";
 
 
 #include "../deal.II/project_common.h"
index e7e22929c3ea92c4c6fac368d41d61da70a2c297..f4d21ef8c0a29158d1195453d64252935de3b0c0 100644 (file)
@@ -19,7 +19,7 @@
 // check that VectorTools::project works for DGPNonparametric elements
 // correctly on a uniformly refined mesh for functions of degree q
 
-char logname[] = "project_dgp_nonparametric_03/output";
+char logname[] = "output";
 
 
 #include "../deal.II/project_common.h"
index e6b91fc994162e3e580ba56eafcec06fdc763e20..951464402f2a5fbfc7c46db2cfbc4368ae194b25 100644 (file)
@@ -19,7 +19,7 @@
 // check that VectorTools::project works for DGPNonparametric elements
 // correctly on a uniformly refined mesh for functions of degree q
 
-char logname[] = "project_dgp_nonparametric_04/output";
+char logname[] = "output";
 
 
 #include "../deal.II/project_common.h"
index 59b7fece76a90395fcd3d6f84712cb520cda746b..7e3600e5542f01171b3fc500062582d99a4bb11f 100644 (file)
@@ -19,7 +19,7 @@
 // check that VectorTools::project works for DGPNonparametric elements
 // correctly on a uniformly refined mesh for functions of degree q
 
-char logname[] = "project_dgp_nonparametric_05/output";
+char logname[] = "output";
 
 
 #include "../deal.II/project_common.h"
index d064cb95e6dceb2196287266fee94f9a8cde1baa..49d8ffb8002ea80f4a6c9ddc78664c901bd17a11 100644 (file)
@@ -18,7 +18,7 @@
 
 // check that VectorTools::project works for RT elements correctly
 
-char logname[] = "project_rt_03/output";
+char logname[] = "output";
 
 
 #include "../deal.II/project_common.h"
index ecd0534ae9bcbff1bf43c5eb6e99ebd70af8f45b..3431b46a24066be634ee68bbd4895c1d4dfb5f54 100644 (file)
@@ -57,7 +57,7 @@ test(const unsigned int degree)
 int
 main()
 {
-  std::ofstream logfile ("rt_4/output");
+  std::ofstream logfile ("output");
   logfile.precision (PRECISION);
   logfile.setf(std::ios::fixed);
   deallog.attach(logfile);
index 2834535ee43a61ec4422c53639c7036894cd3fca..68f288752ce3d27849d3c39fe48ab26ff08dbf0d 100644 (file)
@@ -163,7 +163,7 @@ void test ()
 int
 main()
 {
-  std::ofstream logfile ("rt_6/output");
+  std::ofstream logfile ("output");
   logfile.precision (PRECISION);
   logfile.setf(std::ios::fixed);
   deallog.attach(logfile);
index df6c51dfb3ee4645c43cf5f7c79281205f4fcf7e..ef064750dcb2a2bef44f52ba85f8da24bf58c31c 100644 (file)
@@ -29,7 +29,7 @@
 // elements, when computing some sort of edge directions. This is the
 // case left over from dof_tools_19
 
-std::string output_file_name = "rt_crash_01/output";
+std::string output_file_name = "output";
 
 
 template <int dim>
index 41a563b1d02e68b6d22e86b345d8402a72974342..7e5606c8577af0f44574ecde3b4e0790b05ce8ff 100644 (file)
@@ -29,7 +29,7 @@
 
 #include <fstream>
 
-std::ofstream logfile ("rt_distorted_01/output");
+std::ofstream logfile ("output");
 
 #include <fstream>
 
index 06e5b0b171e23655405141edcab7fa88b68f05c4..fcea02591682754d908ca003203842ec6791cd88 100644 (file)
@@ -29,7 +29,7 @@
 
 #include <fstream>
 
-std::ofstream logfile ("rt_distorted_02/output");
+std::ofstream logfile ("output");
 
 char buf[1000];
 
index 1483a08b2f3a95bfc2152e81eda8e6e707bf4914..44a8714d9ea652e61c52f3a08c95c5868c7f3cae 100644 (file)
@@ -119,7 +119,7 @@ check ()
 
 int main ()
 {
-  std::ofstream logfile ("vectors_boundary_rhs_hp_02/output");
+  std::ofstream logfile ("output");
   logfile.precision (4);
   logfile.setf(std::ios::fixed);
   deallog.attach(logfile);
index 8a032743c8befa511fca7988226a2be1dfbe3ee7..574547fb237e61df21fd9d3938410117b42c31f4 100644 (file)
@@ -119,7 +119,7 @@ check ()
 
 int main ()
 {
-  std::ofstream logfile ("vectors_rhs_hp_02/output");
+  std::ofstream logfile ("output");
   logfile.precision (4);
   logfile.setf(std::ios::fixed);
   deallog.attach(logfile);

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.