From afc9254497db0632fd395d9ff921bdd03e528295 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Wed, 18 Sep 2013 14:37:30 +0000 Subject: [PATCH] Fix path to output file. git-svn-id: https://svn.dealii.org/branches/branch_port_the_testsuite@30793 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/trilinos/mg_transfer_prebuilt_01.cc | 3 +-- tests/trilinos/sparse_matrix_iterator.cc | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/trilinos/mg_transfer_prebuilt_01.cc b/tests/trilinos/mg_transfer_prebuilt_01.cc index 9fd6d336f4..7468f345de 100644 --- a/tests/trilinos/mg_transfer_prebuilt_01.cc +++ b/tests/trilinos/mg_transfer_prebuilt_01.cc @@ -145,8 +145,7 @@ int main(int argc, char **argv) { Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv); - const std::string logname = JobIdentifier::base_name(__FILE__) + std::string("/output"); - std::ofstream logfile(logname.c_str()); + std::ofstream logfile("output"); deallog << std::setprecision(6); deallog.threshold_double(1.e-10); deallog.attach(logfile); diff --git a/tests/trilinos/sparse_matrix_iterator.cc b/tests/trilinos/sparse_matrix_iterator.cc index 3704dcd2c0..8f3c8098ed 100644 --- a/tests/trilinos/sparse_matrix_iterator.cc +++ b/tests/trilinos/sparse_matrix_iterator.cc @@ -22,8 +22,7 @@ int main(int argc, char **argv) { - const std::string logname = JobIdentifier::base_name(__FILE__) + std::string("/output"); - std::ofstream logfile(logname.c_str()); + std::ofstream logfile("output"); deallog.attach(logfile); deallog.depth_console (0); -- 2.39.5