diff options
Diffstat (limited to 'test/gheap.c')
-rw-r--r-- | test/gheap.c | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/test/gheap.c b/test/gheap.c index 208f5e4..d6c6768 100644 --- a/test/gheap.c +++ b/test/gheap.c @@ -386,12 +386,15 @@ test_4 (void) static void cleanup(void) { - remove(TEST_FILE_NAME0); - remove(TEST_FILE_NAME1); - remove(TEST_FILE_NAME2); - remove(TEST_FILE_NAME3); - remove(TEST_FILE_NAME4); + if (!getenv ("HDF5_NOCLEANUP")) { + remove(TEST_FILE_NAME0); + remove(TEST_FILE_NAME1); + remove(TEST_FILE_NAME2); + remove(TEST_FILE_NAME3); + remove(TEST_FILE_NAME4); + } } + /*------------------------------------------------------------------------- * Function: main |