]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Convert a-framework tests to ctest.
authorturcksin <turcksin@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 27 Aug 2013 17:01:42 +0000 (17:01 +0000)
committerturcksin <turcksin@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 27 Aug 2013 17:01:42 +0000 (17:01 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_port_the_testsuite@30508 0785d39b-7218-0410-832d-ea1e28bc413d

13 files changed:
tests/CMakeLists.txt
tests/a-framework/CMakeLists.txt [new file with mode: 0644]
tests/a-framework/Makefile [deleted file]
tests/a-framework/compile.cc
tests/a-framework/compile.output [moved from tests/a-framework/compile/cmp/generic with 100% similarity]
tests/a-framework/fail.cc
tests/a-framework/fail.output [moved from tests/a-framework/fail/cmp/generic with 100% similarity]
tests/a-framework/link.cc
tests/a-framework/link.output [moved from tests/a-framework/link/cmp/generic with 100% similarity]
tests/a-framework/miscompare.cc
tests/a-framework/miscompare.output [moved from tests/a-framework/miscompare/cmp/generic with 100% similarity]
tests/a-framework/run.cc
tests/a-framework/run.output [moved from tests/a-framework/run/cmp/generic with 100% similarity]

index 92ef09dd5137162cae10b7e1424a5cd494ef5cfe..4c1d6234d17cbdf2afa671bc6c38c3ec626f654b 100644 (file)
@@ -72,7 +72,7 @@ MESSAGE(STATUS "Proceed to test definitions")
 #$(if $(USE_CONTRIB_SLEPC:no=),    slepc,) \
 #$(if $(USE_CONTRIB_TRILINOS:no=), trilinos,) \
 
-#a-framework
+ADD_SUBDIRECTORY(a-framework)
 ADD_SUBDIRECTORY(aniso)
 ADD_SUBDIRECTORY(base)
 ADD_SUBDIRECTORY(bits)
diff --git a/tests/a-framework/CMakeLists.txt b/tests/a-framework/CMakeLists.txt
new file mode 100644 (file)
index 0000000..0efb828
--- /dev/null
@@ -0,0 +1 @@
+DEAL_II_PICKUP_TESTS()
diff --git a/tests/a-framework/Makefile b/tests/a-framework/Makefile
deleted file mode 100644 (file)
index 3dc8d02..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, 2007, 2008, 2009, 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 2a85bf623a87d2c229a2858e71e69eb59b502dc4..9c89402fc6b2817ec8837d30011f6d1b53f46cff 100644 (file)
@@ -29,7 +29,7 @@ void function_that_does_not_exist ();
 
 int main ()
 {
-  std::ofstream logfile("compile/output");
+  std::ofstream logfile("output");
   deallog.attach(logfile);
   deallog.depth_console(0);
 
index d564110b2ccc3dc5bf51498b85adce50d01c539b..189749ba1bcfa5fb8b447d812fb99bb4be255546 100644 (file)
@@ -27,7 +27,7 @@
 
 int main ()
 {
-  std::ofstream logfile("fail/output");
+  std::ofstream logfile("output");
   deallog.attach(logfile);
   deallog.depth_console(0);
 
index d2da11219485838db4b672c017861d4c2e01009a..271afee5c07c97739c3862b0fc26181dc73ed5a7 100644 (file)
@@ -27,7 +27,7 @@
 
 int main ()
 {
-  std::ofstream logfile("link/output");
+  std::ofstream logfile("output");
   deallog.attach(logfile);
   deallog.depth_console(0);
 
index 496f97b4fadbea82a3444179555628df741e69e1..c45318ec8850921bcab44bc32d3130ae7620fe40 100644 (file)
@@ -27,7 +27,7 @@
 
 int main ()
 {
-  std::ofstream logfile("miscompare/output");
+  std::ofstream logfile("output");
   deallog.attach(logfile);
   deallog.depth_console(0);
 
index 737431af4e5c9610b3db37163f612caaeba07de2..b41280978b35798b90b7e68e4ccc1d9187210caf 100644 (file)
@@ -25,7 +25,7 @@
 
 int main ()
 {
-  std::ofstream logfile("run/output");
+  std::ofstream logfile("output");
   deallog.attach(logfile);
   deallog.depth_console(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.