diff options
author | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2003-05-07 22:28:09 (GMT) |
---|---|---|
committer | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2003-05-07 22:28:09 (GMT) |
commit | 401c1bc31813f5b44d575823a2c28175bb4e86a0 (patch) | |
tree | 6437baab4e6474b4585ea5f10bac3b801a800104 /tools/h5diff/testh5diff.sh | |
parent | 1c37e0ba3d2707b10595616f4cf5324791550f3e (diff) | |
download | hdf5-401c1bc31813f5b44d575823a2c28175bb4e86a0.zip hdf5-401c1bc31813f5b44d575823a2c28175bb4e86a0.tar.gz hdf5-401c1bc31813f5b44d575823a2c28175bb4e86a0.tar.bz2 |
[svn-r6827] Purpose:
added new test files for h5diff
bug fix
Description:
the criteria for determining the correct switch case cast to void* to type* was the data size read from disk.
this was causing problems on Cray T3E, where all integer except char are 8 bytes long
Solution:
changed the criteria for using the memory size instead, which is determined by the same function
that reads the data into memory
the messages " using memory NATIVE_TYPE_X" were removed, because they might not coincid on different
platforms.
Platforms tested:
Linux 2.4 (rockaway)
SunOS 5.7 (arabica)
IRIX 6.5 (modi4)
Misc. update:
Diffstat (limited to 'tools/h5diff/testh5diff.sh')
-rwxr-xr-x | tools/h5diff/testh5diff.sh | 42 |
1 files changed, 38 insertions, 4 deletions
diff --git a/tools/h5diff/testh5diff.sh b/tools/h5diff/testh5diff.sh index 97025d5..4761595 100755 --- a/tools/h5diff/testh5diff.sh +++ b/tools/h5diff/testh5diff.sh @@ -389,16 +389,50 @@ TOOLTEST h5diff_263.txt dset2.6a dset2.6b -p 3 h5diff_test1.h5 h5diff_test2.h5 TOOLTEST h5diff_30.txt h5diff_test3.h5 h5diff_test4.h5 # test 3.1 -TOOLTEST h5diff_31.txt dset3 dset3 h5diff_test3.h5 h5diff_test4.h5 +TOOLTEST h5diff_31.txt dset_A dset_A h5diff_test3.h5 h5diff_test4.h5 # test 3.2 -TOOLTEST h5diff_32.txt dset3 dset4 h5diff_test3.h5 h5diff_test4.h5 +TOOLTEST h5diff_32.txt dset_A dset_B h5diff_test3.h5 h5diff_test4.h5 # test 3.3 -TOOLTEST h5diff_33.txt dset6 dset3 h5diff_test3.h5 h5diff_test4.h5 +TOOLTEST h5diff_33.txt dset_C dset_A h5diff_test3.h5 h5diff_test4.h5 # test 3.4 -TOOLTEST h5diff_34.txt dset6 dset6 h5diff_test3.h5 h5diff_test4.h5 +TOOLTEST h5diff_34.txt dset_C dset_C h5diff_test3.h5 h5diff_test4.h5 + +####################################################### +# reverse direction +####################################################### + +# test 3.5 +TOOLTEST h5diff_35.txt h5diff_test4.h5 h5diff_test3.h5 + +####################################################### +# Different paths +####################################################### + +# test 4.0: should find +TOOLTEST h5diff_40.txt g1/dset1 g2/dset1 h5diff_test5.h5 h5diff_test6.h5 + +# test 4.1.1: should NOT find +TOOLTEST h5diff_411.txt dset1 dset1 h5diff_test5.h5 h5diff_test6.h5 + +# test 4.1.2: should NOT find +TOOLTEST h5diff_412.txt /g1/dset1 dset1 h5diff_test5.h5 h5diff_test6.h5 + +# test 4.1.3: should NOT find +TOOLTEST h5diff_413.txt /g1/dset1 /g1/dset1 h5diff_test5.h5 h5diff_test6.h5 + +####################################################### +# paths with several components +####################################################### + +# test 4.2.1: +TOOLTEST h5diff_421.txt /a/b/c /a/b/c h5diff_test5.h5 h5diff_test6.h5 + +# test 4.2.2: +TOOLTEST h5diff_422.txt /x/a/c /a/b/c h5diff_test5.h5 h5diff_test6.h5 + |