diff options
Diffstat (limited to 'test/cmpd_dset.c')
-rw-r--r-- | test/cmpd_dset.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/cmpd_dset.c b/test/cmpd_dset.c index 13d9ca3..1ccbe85 100644 --- a/test/cmpd_dset.c +++ b/test/cmpd_dset.c @@ -81,8 +81,11 @@ typedef struct s5_t { static void cleanup(void) { - remove(TEST_FILE_NAME); + if (!getenv ("HDF5_NOCLEANUP")) { + remove(TEST_FILE_NAME); + } } + /*------------------------------------------------------------------------- * Function: main |