From: Wolfgang Bangerth Date: Fri, 26 Feb 2010 05:55:05 +0000 (+0000) Subject: Add a test that is guaranteed to run successfully but miscompare. X-Git-Tag: v8.0.0~6395 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4bec23f0a0d1a27aa59c5abec00c5150251e9dd6;p=dealii.git Add a test that is guaranteed to run successfully but miscompare. git-svn-id: https://svn.dealii.org/trunk@20702 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/a-framework/miscompare.cc b/tests/a-framework/miscompare.cc new file mode 100644 index 0000000000..475dab4385 --- /dev/null +++ b/tests/a-framework/miscompare.cc @@ -0,0 +1,34 @@ +//---------------------------- 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 successfully +// but not run + +#include "../tests.h" +#include +#include +#include + + +int main () +{ + std::ofstream logfile("miscompare/output"); + deallog.attach(logfile); + deallog.depth_console(0); + + std::abort (); + + deallog << "FAIL!" << std::endl; +} + diff --git a/tests/a-framework/miscompare/cmp/generic b/tests/a-framework/miscompare/cmp/generic new file mode 100644 index 0000000000..0fd8fc12f0 --- /dev/null +++ b/tests/a-framework/miscompare/cmp/generic @@ -0,0 +1,2 @@ + +DEAL::OK