############################################################
-tests_x = run compile link fail
+tests_x = run miscompare compile link fail
# from above list of regular expressions, generate the real set of
# tests
//---------------------------- timer.cc ---------------------------
-// test the testsuite framework. this test is supposed to compile successfully
-// but not run
+// test the testsuite framework. this test is supposed to compile
+// successfully but not link
#include "../tests.h"
#include <base/logstream.h>
#include <fstream>
#include <cstdlib>
+void function_that_does_not_exist ();
+
int main ()
{
deallog.attach(logfile);
deallog.depth_console(0);
- std::abort ();
+ function_that_does_not_exist ();
deallog << "OK" << std::endl;
}
--- /dev/null
+//---------------------------- timer.cc ---------------------------
+// $Id$
+// Version: $Name$
+//
+// Copyright (C) 2010by 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.
+//
+//---------------------------- timer.cc ---------------------------
+
+
+// test the testsuite framework. this test is supposed to compile and link
+// successfully but not run
+
+#include "../tests.h"
+#include <base/logstream.h>
+#include <fstream>
+#include <cstdlib>
+
+
+int main ()
+{
+ std::ofstream logfile("fail/output");
+ deallog.attach(logfile);
+ deallog.depth_console(0);
+
+ compile error;
+
+ deallog << "OK" << std::endl;
+}
+
--- /dev/null
+
+DEAL::OK
--- /dev/null
+//---------------------------- timer.cc ---------------------------
+// $Id$
+// Version: $Name$
+//
+// Copyright (C) 2010by 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.
+//
+//---------------------------- timer.cc ---------------------------
+
+
+// test the testsuite framework. this test is supposed to compile and link
+// successfully but not run
+
+#include "../tests.h"
+#include <base/logstream.h>
+#include <fstream>
+#include <cstdlib>
+
+
+int main ()
+{
+ std::ofstream logfile("link/output");
+ deallog.attach(logfile);
+ deallog.depth_console(0);
+
+ std::abort ();
+
+ deallog << "OK" << std::endl;
+}
+
--- /dev/null
+
+DEAL::OK
deallog.attach(logfile);
deallog.depth_console(0);
- std::abort ();
-
deallog << "FAIL!" << std::endl;
}