]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add a-framework
authorMatthias Maier <tamiko@kyomu.43-1.org>
Sun, 20 Oct 2013 17:49:48 +0000 (17:49 +0000)
committerMatthias Maier <tamiko@kyomu.43-1.org>
Sun, 20 Oct 2013 17:49:48 +0000 (17:49 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_port_the_testsuite@31343 0785d39b-7218-0410-832d-ea1e28bc413d

tests/a-framework/CMakeLists.txt [new file with mode: 0644]
tests/a-framework/build_1.cc [moved from tests/a-framework/fail.cc with 88% similarity]
tests/a-framework/build_1.expect=build.output [moved from tests/a-framework/compile.output with 100% similarity]
tests/a-framework/build_2.cc [moved from tests/a-framework/compile.cc with 94% similarity]
tests/a-framework/build_2.expect=build.output [moved from tests/a-framework/fail.output with 100% similarity]
tests/a-framework/diff.cc [moved from tests/a-framework/miscompare.cc with 85% similarity]
tests/a-framework/diff.expect=diff.output [moved from tests/a-framework/link.output with 100% similarity]
tests/a-framework/passed.cc [moved from tests/a-framework/link.cc with 85% similarity]
tests/a-framework/passed.output [moved from tests/a-framework/miscompare.output with 100% similarity]
tests/a-framework/run.cc
tests/a-framework/run.expect=run.output [moved from tests/a-framework/run.output with 100% similarity]

diff --git a/tests/a-framework/CMakeLists.txt b/tests/a-framework/CMakeLists.txt
new file mode 100644 (file)
index 0000000..e39c51b
--- /dev/null
@@ -0,0 +1,5 @@
+CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8)
+INCLUDE(${DEAL_II_SOURCE_DIR}/cmake/setup_testsuite.cmake)
+PROJECT(testsuite CXX)
+INCLUDE(${DEAL_II_TARGET_CONFIG})
+DEAL_II_PICKUP_TESTS()
similarity index 88%
rename from tests/a-framework/fail.cc
rename to tests/a-framework/build_1.cc
index 189749ba1bcfa5fb8b447d812fb99bb4be255546..895a50f0c0641447489e61f2a32cdd222c73a2e0 100644 (file)
@@ -1,5 +1,5 @@
 // ---------------------------------------------------------------------
-// $Id$
+// $Id: fail.cc 30508 2013-08-27 17:01:42Z turcksin $
 //
 // Copyright (C) 2010 - 2013 by the deal.II authors
 //
@@ -16,8 +16,7 @@
 
 
 
-// test the testsuite framework. this test is supposed to compile and link
-// successfully but not run
+// test the testsuite framework. this test is supposed to miscompile
 
 #include "../tests.h"
 #include <deal.II/base/logstream.h>
similarity index 94%
rename from tests/a-framework/compile.cc
rename to tests/a-framework/build_2.cc
index 9c89402fc6b2817ec8837d30011f6d1b53f46cff..cd3609c32bebb167f556af6c709d169368e3dbb1 100644 (file)
@@ -1,5 +1,5 @@
 // ---------------------------------------------------------------------
-// $Id$
+// $Id: compile.cc 30508 2013-08-27 17:01:42Z turcksin $
 //
 // Copyright (C) 2010 - 2013 by the deal.II authors
 //
similarity index 85%
rename from tests/a-framework/miscompare.cc
rename to tests/a-framework/diff.cc
index c45318ec8850921bcab44bc32d3130ae7620fe40..e229bf2225843e41acebed1f17b9a380a0b5bb41 100644 (file)
@@ -1,5 +1,5 @@
 // ---------------------------------------------------------------------
-// $Id$
+// $Id: miscompare.cc 30508 2013-08-27 17:01:42Z turcksin $
 //
 // Copyright (C) 2010 - 2013 by the deal.II authors
 //
@@ -16,8 +16,8 @@
 
 
 
-// test the testsuite framework. this test is supposed to compile successfully
-// but not run
+// test the testsuite framework. this test is supposed to run succesfully
+// but to miscompare
 
 #include "../tests.h"
 #include <deal.II/base/logstream.h>
similarity index 85%
rename from tests/a-framework/link.cc
rename to tests/a-framework/passed.cc
index 271afee5c07c97739c3862b0fc26181dc73ed5a7..34ee2be9474047c8f2cac57825bf12ba775888b3 100644 (file)
@@ -1,5 +1,5 @@
 // ---------------------------------------------------------------------
-// $Id$
+// $Id: run.cc 30508 2013-08-27 17:01:42Z turcksin $
 //
 // Copyright (C) 2010 - 2013 by the deal.II authors
 //
 
 
 
-// test the testsuite framework. this test is supposed to compile and link
-// successfully but not run
+// test the testsuite framework. this test is supposed to run successfully
 
 #include "../tests.h"
 #include <deal.II/base/logstream.h>
 #include <fstream>
-#include <cstdlib>
 
 
 int main ()
@@ -31,8 +29,6 @@ int main ()
   deallog.attach(logfile);
   deallog.depth_console(0);
 
-  std::abort ();
-
   deallog << "OK" << std::endl;
 }
 
index b41280978b35798b90b7e68e4ccc1d9187210caf..271afee5c07c97739c3862b0fc26181dc73ed5a7 100644 (file)
 
 
 
-// test the testsuite framework. this test is supposed to run successfully
+// test the testsuite framework. this test is supposed to compile and link
+// successfully but not run
 
 #include "../tests.h"
 #include <deal.II/base/logstream.h>
 #include <fstream>
+#include <cstdlib>
 
 
 int main ()
@@ -29,6 +31,8 @@ int main ()
   deallog.attach(logfile);
   deallog.depth_console(0);
 
+  std::abort ();
+
   deallog << "OK" << 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.