From 118b1d38fa0d00d0cff94d33e753b11bd732951f Mon Sep 17 00:00:00 2001 From: Pedro Vicente Nunes Date: Fri, 20 Oct 2006 14:33:16 -0500 Subject: [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) --- tools/h5repack/testh5repack_main.c | 20 ++++---------------- 1 file 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; -- cgit v0.12