]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Final round of tests.
authorkanschat <kanschat@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 14 Sep 2006 16:23:20 +0000 (16:23 +0000)
committerkanschat <kanschat@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 14 Sep 2006 16:23:20 +0000 (16:23 +0000)
The result of the last test is reported wrongly because phony.h has been touched again at this point.

git-svn-id: https://svn.dealii.org/trunk@13903 0785d39b-7218-0410-832d-ea1e28bc413d

tests/test/no_diff_01.cc
tests/test/no_diff_02.cc [new file with mode: 0644]
tests/test/no_diff_04.cc [new file with mode: 0644]
tests/test/ok_02.cc [new file with mode: 0644]
tests/test/ok_02/cmp/generic [new file with mode: 0644]

index 2179f84a7147e75f8aacd87d9425c5a5260cbbeb..c2ae1fa9c220009d5f0c13f5b53bcb22a140488b 100644 (file)
@@ -17,6 +17,8 @@
 #include <cstdlib>
 #include <fstream>
 
+#include "phony.h"
+
 int main()
 {
 }
diff --git a/tests/test/no_diff_02.cc b/tests/test/no_diff_02.cc
new file mode 100644 (file)
index 0000000..2179f84
--- /dev/null
@@ -0,0 +1,22 @@
+//----------------------------------------------------------------------
+//    $Id: reference.cc 13395 2006-07-19 12:45:54Z kanschat $
+//    Version: $Name$ 
+//
+//    Copyright (C) 2006 by the deal.II authors
+//
+//    This file is subject to QPL and may not be  distributed
+//    without copyright and license information. Please refer
+//    to the file deal.II/doc/license.html for the  text  and
+//    further information on this license.
+//
+//----------------------------------------------------------------------
+
+// A test program runs, but won't produce results
+
+
+#include <cstdlib>
+#include <fstream>
+
+int main()
+{
+}
diff --git a/tests/test/no_diff_04.cc b/tests/test/no_diff_04.cc
new file mode 100644 (file)
index 0000000..643d7e7
--- /dev/null
@@ -0,0 +1,26 @@
+//----------------------------------------------------------------------
+//    $Id: reference.cc 13395 2006-07-19 12:45:54Z kanschat $
+//    Version: $Name$ 
+//
+//    Copyright (C) 2006 by the deal.II authors
+//
+//    This file is subject to QPL and may not be  distributed
+//    without copyright and license information. Please refer
+//    to the file deal.II/doc/license.html for the  text  and
+//    further information on this license.
+//
+//----------------------------------------------------------------------
+
+// A test program that produces wrong results
+
+
+#include <cstdlib>
+#include <fstream>
+
+#include "phony.h"
+
+int main()
+{
+  std::ofstream out("no_diff_04/output");
+  out << "My output" << std::endl;
+}
diff --git a/tests/test/ok_02.cc b/tests/test/ok_02.cc
new file mode 100644 (file)
index 0000000..3018ed1
--- /dev/null
@@ -0,0 +1,26 @@
+//----------------------------------------------------------------------
+//    $Id: reference.cc 13395 2006-07-19 12:45:54Z kanschat $
+//    Version: $Name$ 
+//
+//    Copyright (C) 2006 by the deal.II authors
+//
+//    This file is subject to QPL and may not be  distributed
+//    without copyright and license information. Please refer
+//    to the file deal.II/doc/license.html for the  text  and
+//    further information on this license.
+//
+//----------------------------------------------------------------------
+
+// A test program that produces correct results
+
+
+#include <cstdlib>
+#include <fstream>
+
+#include "phony.h"
+
+int main()
+{
+  std::ofstream out("ok_02/output");
+  out << "My output" << std::endl;
+}
diff --git a/tests/test/ok_02/cmp/generic b/tests/test/ok_02/cmp/generic
new file mode 100644 (file)
index 0000000..09f0171
--- /dev/null
@@ -0,0 +1 @@
+My output

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.