[MOAB-dev] r2242 - MOAB/trunk/tools/iMesh
kraftche at mcs.anl.gov
kraftche at mcs.anl.gov
Thu Nov 13 16:43:23 CST 2008
Author: kraftche
Date: 2008-11-13 16:43:23 -0600 (Thu, 13 Nov 2008)
New Revision: 2242
Modified:
MOAB/trunk/tools/iMesh/iMeshP_unit_tests.cpp
Log:
clean up temporary files
Modified: MOAB/trunk/tools/iMesh/iMeshP_unit_tests.cpp
===================================================================
--- MOAB/trunk/tools/iMesh/iMeshP_unit_tests.cpp 2008-11-13 22:39:52 UTC (rev 2241)
+++ MOAB/trunk/tools/iMesh/iMeshP_unit_tests.cpp 2008-11-13 22:43:23 UTC (rev 2242)
@@ -393,6 +393,10 @@
std::cout.flush();
MPI_Barrier( MPI_COMM_WORLD );
+ // clean up output file
+ if (rank == 0)
+ remove( FILENAME );
+
if (rank == 0) {
if (!num_errors)
std::cout << "All tests passed" << std::endl;
More information about the moab-dev
mailing list