From: Martin Kronbichler Date: Sun, 15 Mar 2020 10:14:30 +0000 (+0100) Subject: Fix two tests after elimination of logfile X-Git-Tag: v9.2.0-rc1~422^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F9662%2Fhead;p=dealii.git Fix two tests after elimination of logfile --- diff --git a/tests/mpi/torus.cc b/tests/mpi/torus.cc index ff026ac5ef..948ee93baf 100644 --- a/tests/mpi/torus.cc +++ b/tests/mpi/torus.cc @@ -76,11 +76,6 @@ main(int argc, char *argv[]) argc, argv, testing_max_num_threads()); MPILogInitAll log; - if (Utilities::MPI::this_mpi_process(MPI_COMM_WORLD) == 0) - { - static initlog(); - } - parallel::distributed::Triangulation<2, 3> triangulation( MPI_COMM_WORLD, typename Triangulation<2, 3>::MeshSmoothing( diff --git a/tests/petsc/vector_print.cc b/tests/petsc/vector_print.cc index 0b4a5e1261..22b3167a67 100644 --- a/tests/petsc/vector_print.cc +++ b/tests/petsc/vector_print.cc @@ -46,10 +46,10 @@ main(int argc, char **argv) // print with prescribed precision deallog << "across=false" << std::endl; - v.print(logfile, 10, true, false); + v.print(deallog.get_file_stream(), 10, true, false); deallog << "across=true" << std::endl; - v.print(logfile, 10, true, true); + v.print(deallog.get_file_stream(), 10, true, true); // print once more. should be the old precision again deallog << numbers::PI << std::endl;