summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2006-10-20 19:33:16 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2006-10-20 19:33:16 (GMT)
commit118b1d38fa0d00d0cff94d33e753b11bd732951f (patch)
tree097713d44c3e28f1838f5c4bf881c4d8e513954b /tools
parentdf803f78d045963ca024111fc27ba5dc225d2b08 (diff)
downloadhdf5-118b1d38fa0d00d0cff94d33e753b11bd732951f.zip
hdf5-118b1d38fa0d00d0cff94d33e753b11bd732951f.tar.gz
hdf5-118b1d38fa0d00d0cff94d33e753b11bd732951f.tar.bz2
[svn-r12794]
1. bug fix. the h5_cleanup file names were not build properly on the h5repacktest call 2. added only a call to test_bigout.h5 to be clean, because the other files are generated anyway by the shell script. test_bigout.h5 is only made on the C program part (h5repacktst)
Diffstat (limited to 'tools')
-rw-r--r--tools/h5repack/testh5repack_main.c20
1 files changed, 4 insertions, 16 deletions
diff --git a/tools/h5repack/testh5repack_main.c b/tools/h5repack/testh5repack_main.c
index 7a5b46d..40658d9 100644
--- a/tools/h5repack/testh5repack_main.c
+++ b/tools/h5repack/testh5repack_main.c
@@ -18,24 +18,11 @@
#include "testh5repack.h"
#include "h5diff.h"
-const char *FILENAME[] = {
- FNAME1OUT,
- FNAME2OUT,
- FNAME3OUT,
- FNAME4OUT,
- FNAME5OUT,
- FNAME7OUT,
- FNAME8OUT,
- FNAME9OUT,
- FNAME10OUT,
- FNAME11OUT,
- FNAME12OUT,
- FNAME13OUT,
- FNAME14OUT,
+const char *H5REPACK_FILENAMES[] = {
+ "test_bigout",
NULL
};
-
/*-------------------------------------------------------------------------
* Function: main
*
@@ -70,6 +57,7 @@ int main (int argc, const char *argv[])
puts("Testing h5repack:");
/* setup */
+ h5_reset();
fapl = h5_fileaccess();
@@ -1219,7 +1207,7 @@ if (szip_can_encode) {
puts("All h5repack tests passed.");
- h5_cleanup(FILENAME, fapl);
+ h5_cleanup(H5REPACK_FILENAMES, fapl);
return 0;