From 8361d7d4236a05b848e1b5e26a026f818984f9dc Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Fri, 11 Aug 2017 23:54:59 -0500 Subject: [PATCH] lac/constraints_c1_02: Modernize test --- tests/lac/constraints_c1_02.cc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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(); } -- 2.39.5