From b4e0066f8f535005eedc4aea68ee18c1033ad38e Mon Sep 17 00:00:00 2001 From: bangerth Date: Fri, 26 Feb 2010 05:53:41 +0000 Subject: [PATCH] Add a test that is guaranteed to compile successfully. git-svn-id: https://svn.dealii.org/trunk@20700 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/a-framework/compile.cc | 34 +++++++++++++++++++++++++++ tests/a-framework/compile/cmp/generic | 2 ++ 2 files changed, 36 insertions(+) create mode 100644 tests/a-framework/compile.cc create mode 100644 tests/a-framework/compile/cmp/generic diff --git a/tests/a-framework/compile.cc b/tests/a-framework/compile.cc new file mode 100644 index 0000000000..b1c039c1d9 --- /dev/null +++ b/tests/a-framework/compile.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("run/output"); + deallog.attach(logfile); + deallog.depth_console(0); + + std::abort (); + + deallog << "OK" << std::endl; +} + diff --git a/tests/a-framework/compile/cmp/generic b/tests/a-framework/compile/cmp/generic new file mode 100644 index 0000000000..0fd8fc12f0 --- /dev/null +++ b/tests/a-framework/compile/cmp/generic @@ -0,0 +1,2 @@ + +DEAL::OK -- 2.39.5