diff options
Diffstat (limited to 'testpar')
-rw-r--r-- | testpar/testphdf5.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/testpar/testphdf5.c b/testpar/testphdf5.c index a07ac4a..f607d8f 100644 --- a/testpar/testphdf5.c +++ b/testpar/testphdf5.c @@ -516,12 +516,8 @@ int main(int argc, char **argv) if (MAINPROCESS && GetTestSummary()) TestSummary(); - /* Clean up test files, if allowed */ - if (GetTestCleanup() && !getenv("HDF5_NOCLEANUP")) - h5_cleanup(FILENAME, fapl); - else - /* h5_cleanup would have closed fapl. Now must do it explicitedly */ - H5Pclose(fapl); + /* Clean up test files */ + h5_cleanup(FILENAME, fapl); nerrors += GetTestNumErrs(); |