From: Matthias Maier Date: Sat, 12 Aug 2017 04:54:59 +0000 (-0500) Subject: lac/constraints_c1_02: Modernize test X-Git-Tag: v9.0.0-rc1~1295^2~2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8361d7d4236a05b848e1b5e26a026f818984f9dc;p=dealii.git lac/constraints_c1_02: Modernize test --- diff --git a/tests/lac/constraints_c1_02.cc b/tests/lac/constraints_c1_02.cc index 1586820ea1..4db613b2c8 100644 --- a/tests/lac/constraints_c1_02.cc +++ b/tests/lac/constraints_c1_02.cc @@ -19,6 +19,7 @@ * reduced test case from constraint_c1.cc, causes a hang in close() */ +#include "../tests.h" #include #include @@ -75,11 +76,8 @@ run() int main() { + initlog(); deal_II_exceptions::disable_abort_on_exception(); - const std::string logname = "output"; - std::ofstream logfile(logname.c_str()); - deallog.attach(logfile); - run(); }