From: Wolfgang Bangerth Date: Thu, 13 Sep 2012 12:06:11 +0000 (+0000) Subject: Only delete tmp files created on the current processor. X-Git-Tag: v8.0.0~2132 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=424f24e14e74f618e6d200d660b6cd9ba69558e8;p=dealii.git Only delete tmp files created on the current processor. git-svn-id: https://svn.dealii.org/trunk@26346 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/mpi/no_flux_constraints_02.cc b/tests/mpi/no_flux_constraints_02.cc index fc5b4e0fd4..e60bb67103 100644 --- a/tests/mpi/no_flux_constraints_02.cc +++ b/tests/mpi/no_flux_constraints_02.cc @@ -146,12 +146,12 @@ void test() deallog << str << std::endl; } } + std::remove ((base + "cm").c_str()); + std::remove ((base + "cm.check").c_str()); } // remove tmp files again std::remove ((base + "cm_" + Utilities::int_to_string(myid) + ".dot").c_str()); - std::remove ((base + "cm").c_str()); - std::remove ((base + "cm.check").c_str()); // print the number of constraints. since // processors might write info in different diff --git a/tests/mpi/no_flux_constraints_03.cc b/tests/mpi/no_flux_constraints_03.cc index c7b307d454..c0915dd082 100644 --- a/tests/mpi/no_flux_constraints_03.cc +++ b/tests/mpi/no_flux_constraints_03.cc @@ -118,12 +118,12 @@ void test() } } + std::remove ((base + "cm").c_str()); + std::remove ((base + "cm.check").c_str()); } // remove tmp files again std::remove ((base + "cm_" + Utilities::int_to_string(myid) + ".dot").c_str()); - std::remove ((base + "cm").c_str()); - std::remove ((base + "cm.check").c_str()); // print the number of constraints. since