From: wolf Date: Tue, 24 Feb 2004 20:50:27 +0000 (+0000) Subject: New test. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8c9ffcf13ae9d36810b3743df196687e5cfe85a5;p=dealii-svn.git New test. git-svn-id: https://svn.dealii.org/trunk@8527 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/bits/Makefile b/tests/bits/Makefile index f57862e88b..e7a8a09e01 100644 --- a/tests/bits/Makefile +++ b/tests/bits/Makefile @@ -47,10 +47,11 @@ tests_x = anna_? \ q_points \ find_cell_* \ sparse_matrix_* \ - full_matrix_vector_* + full_matrix_vector_* \ + solver_selector ifeq ($(USE_CONTRIB_PETSC),yes) - tests_x += petsc_* + tests_x += vector_* petsc_* endif # from above list of regular expressions, generate the real set of diff --git a/tests/bits/solver_selector.cc b/tests/bits/solver_selector.cc new file mode 100644 index 0000000000..6fabd6b132 --- /dev/null +++ b/tests/bits/solver_selector.cc @@ -0,0 +1,31 @@ +//---------------------------- solver_selector.cc --------------------------- +// petsc_11.cc,v 1.4 2003/07/03 10:31:46 guido Exp +// Version: +// +// Copyright (C) 2004 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. +// +//---------------------------- solver_selector.cc --------------------------- + +// I managed to break solver selector once by making some variables in the +// AdditionalData structures of the solvers const. This test simply +// instantiates that class, to make sure it still compiles + +#include +#include + +// instantiation here +template class SolverSelector<>; + +int main () +{ + std::ofstream logfile("solver_selector.output"); + deallog.attach(logfile); + deallog.depth_console(0); + + deallog << "OK" << std::endl; +}