hdf5/tools/h5diff/testfiles
Pedro Vicente Nunes bd1fe8cd74 [svn-r16614] 3. #1501 (B1) tools bug if dataset is larger than H5TOOLS_BUFSIZE limit.
ISSUE : the tools use the following formula to read by hyperslabs: hyperslab_size[i] = MIN( dim_size[i], H5TOOLS_BUFSIZE / datum_size) where H5TOOLS_BUFSIZE is a constant defined of 1024K. This is OK as long as the datum_size does not exceed 1024K, otherwise we have a hyperslab size of 0 (since 1024K/(greater than 1024K) = 0). This affects h5dump. h5repack, h5diff
SOLUTION: add a check for a 0 size and define as 1 if so. 
TEST FOR H5DUMP: Defined a case in the h5dump test generator program of such a type (an array type of doubles with a large array dimension, that was the case the user reported).  Since the written file commited in svn would be around 1024K, opted for not writing the data (the part of the code where the hyperslab is defined is executed, since h5dump always reads the files). Defined a macro WRITE_ARRAY to enable such writing if needed. Added a run on the h5dump shell script. Added 2 new files to svn: tools/testfiles/tarray8.ddl, tools/testfiles/tarray8.h5. NOTE: while doing this I thought of adding this dataset case to an existing file, but that would add the large array output to those files (the ddls). The issue is that the file list is increasing.
TEST FOR H5DIFF: for h5diff the check for reading by hyperslabs is H5TOOLS_MALLOCSIZE (128 * H5TOOLS_BUFSIZE) or 128 Mb. This makes it not possible to add such a file to svn, so used the same method as h5dump (only write the dataset if WRITE_ARRAY is defined). As opposed to h5dump, the hyperslab code is NOT executed when the dataset is empty (dataset is not read). Added the new dataset to existing files and shell run (tools/h5diff/testfiles/h5diff_dset1.h5 and tools/h5diff/testfiles/h5diff_dset2.h5 and output in tools/h5diff/testfiles/h5diff_80.txt).
TEST FOR H5REPACK: similar issue as h5diff with the difference that the hyperslab code is run. Added a run to the shell script (with a filter, otherwise the code uses H5Ocopy). 

tested: linux (h5commitest failed , apparently it did not detect the code changes in /tools/lib that fix the bug: the error in an assertion in the hyperslab of 0. I am sure that making h5ccomitest --distclean will detect the new code , but don't want to wait more 3 hours :-) )
2009-03-25 15:28:50 -05:00
..
h5diff_10.txt [svn-r16434] bug fix: typo in usage message 2009-02-05 10:24:23 -05:00
h5diff_11.txt
h5diff_12.txt
h5diff_13.txt
h5diff_14.txt
h5diff_15.txt
h5diff_16_1.txt [svn-r16348] #1368 (E1) h5diff: implement "not comparable" messages. Implemented RFC. The new option is <-c, --compare List objects that are not comparable> 2009-01-26 14:29:22 -05:00
h5diff_16_2.txt [svn-r16348] #1368 (E1) h5diff: implement "not comparable" messages. Implemented RFC. The new option is <-c, --compare List objects that are not comparable> 2009-01-26 14:29:22 -05:00
h5diff_16_3.txt [svn-r16348] #1368 (E1) h5diff: implement "not comparable" messages. Implemented RFC. The new option is <-c, --compare List objects that are not comparable> 2009-01-26 14:29:22 -05:00
h5diff_17.txt [svn-r16461] Bug fix: for compound types, the not comparable test for members was not done 2009-02-11 10:57:25 -05:00
h5diff_18.txt
h5diff_19.txt [svn-r15979] some test files from rev 15866 from 1.8 branch 2008-10-28 14:53:24 -05:00
h5diff_20.txt [svn-r16348] #1368 (E1) h5diff: implement "not comparable" messages. Implemented RFC. The new option is <-c, --compare List objects that are not comparable> 2009-01-26 14:29:22 -05:00
h5diff_21.txt [svn-r16348] #1368 (E1) h5diff: implement "not comparable" messages. Implemented RFC. The new option is <-c, --compare List objects that are not comparable> 2009-01-26 14:29:22 -05:00
h5diff_22.txt [svn-r16348] #1368 (E1) h5diff: implement "not comparable" messages. Implemented RFC. The new option is <-c, --compare List objects that are not comparable> 2009-01-26 14:29:22 -05:00
h5diff_23.txt
h5diff_24.txt
h5diff_25.txt
h5diff_26.txt
h5diff_27.txt
h5diff_28.txt
h5diff_50.txt
h5diff_51.txt
h5diff_52.txt
h5diff_53.txt
h5diff_54.txt
h5diff_55.txt
h5diff_56.txt
h5diff_57.txt [svn-r16348] #1368 (E1) h5diff: implement "not comparable" messages. Implemented RFC. The new option is <-c, --compare List objects that are not comparable> 2009-01-26 14:29:22 -05:00
h5diff_58.txt [svn-r16217] Bug fix 2008-12-23 09:56:13 -05:00
h5diff_70.txt [svn-r16348] #1368 (E1) h5diff: implement "not comparable" messages. Implemented RFC. The new option is <-c, --compare List objects that are not comparable> 2009-01-26 14:29:22 -05:00
h5diff_80.txt [svn-r16614] 3. #1501 (B1) tools bug if dataset is larger than H5TOOLS_BUFSIZE limit. 2009-03-25 15:28:50 -05:00
h5diff_90.txt [svn-r16461] Bug fix: for compound types, the not comparable test for members was not done 2009-02-11 10:57:25 -05:00
h5diff_100.txt
h5diff_101.txt
h5diff_102.txt
h5diff_200.txt [svn-r16348] #1368 (E1) h5diff: implement "not comparable" messages. Implemented RFC. The new option is <-c, --compare List objects that are not comparable> 2009-01-26 14:29:22 -05:00
h5diff_201.txt [svn-r16348] #1368 (E1) h5diff: implement "not comparable" messages. Implemented RFC. The new option is <-c, --compare List objects that are not comparable> 2009-01-26 14:29:22 -05:00
h5diff_202.txt [svn-r16348] #1368 (E1) h5diff: implement "not comparable" messages. Implemented RFC. The new option is <-c, --compare List objects that are not comparable> 2009-01-26 14:29:22 -05:00
h5diff_203.txt [svn-r16358] bug fix 2009-01-27 10:33:17 -05:00
h5diff_204.txt [svn-r16358] bug fix 2009-01-27 10:33:17 -05:00
h5diff_205.txt [svn-r16358] bug fix 2009-01-27 10:33:17 -05:00
h5diff_206.txt [svn-r16461] Bug fix: for compound types, the not comparable test for members was not done 2009-02-11 10:57:25 -05:00
h5diff_207.txt [svn-r16461] Bug fix: for compound types, the not comparable test for members was not done 2009-02-11 10:57:25 -05:00
h5diff_600.txt [svn-r16434] bug fix: typo in usage message 2009-02-05 10:24:23 -05:00
h5diff_603.txt [svn-r16434] bug fix: typo in usage message 2009-02-05 10:24:23 -05:00
h5diff_604.txt [svn-r16434] bug fix: typo in usage message 2009-02-05 10:24:23 -05:00
h5diff_605.txt [svn-r16434] bug fix: typo in usage message 2009-02-05 10:24:23 -05:00
h5diff_606.txt [svn-r16434] bug fix: typo in usage message 2009-02-05 10:24:23 -05:00
h5diff_607.txt
h5diff_608.txt
h5diff_609.txt
h5diff_610.txt
h5diff_612.txt [svn-r16434] bug fix: typo in usage message 2009-02-05 10:24:23 -05:00
h5diff_613.txt [svn-r16434] bug fix: typo in usage message 2009-02-05 10:24:23 -05:00
h5diff_614.txt [svn-r16434] bug fix: typo in usage message 2009-02-05 10:24:23 -05:00
h5diff_615.txt [svn-r16434] bug fix: typo in usage message 2009-02-05 10:24:23 -05:00
h5diff_616.txt
h5diff_617.txt
h5diff_618.txt
h5diff_619.txt
h5diff_621.txt [svn-r16434] bug fix: typo in usage message 2009-02-05 10:24:23 -05:00
h5diff_622.txt [svn-r16434] bug fix: typo in usage message 2009-02-05 10:24:23 -05:00
h5diff_623.txt [svn-r16434] bug fix: typo in usage message 2009-02-05 10:24:23 -05:00
h5diff_624.txt [svn-r16434] bug fix: typo in usage message 2009-02-05 10:24:23 -05:00
h5diff_625.txt
h5diff_626.txt
h5diff_627.txt
h5diff_628.txt
h5diff_629.txt
h5diff_attr1.h5
h5diff_attr2.h5
h5diff_basic1.h5 [svn-r15979] some test files from rev 15866 from 1.8 branch 2008-10-28 14:53:24 -05:00
h5diff_basic2.h5 [svn-r16461] Bug fix: for compound types, the not comparable test for members was not done 2009-02-11 10:57:25 -05:00
h5diff_dset1.h5 [svn-r16614] 3. #1501 (B1) tools bug if dataset is larger than H5TOOLS_BUFSIZE limit. 2009-03-25 15:28:50 -05:00
h5diff_dset2.h5 [svn-r16614] 3. #1501 (B1) tools bug if dataset is larger than H5TOOLS_BUFSIZE limit. 2009-03-25 15:28:50 -05:00
h5diff_dtypes.h5
h5diff_empty.h5
h5diff_hyper1.h5
h5diff_hyper2.h5
h5diff_types.h5