From: bangerth Date: Thu, 13 Sep 2012 12:06:11 +0000 (+0000) Subject: Only delete tmp files created on the current processor. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d3e6d5fffafe2e1d186c85ad65912eff4f8d9d5;p=dealii-svn.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