mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-30 15:32:37 +08:00
[svn-r11607] Purpose:
new h5diff test Description: added a test to the test h5diff script that compares a file to itself. this test is done to test some features of the library that open the same file and the root group twice Solution: Platforms tested: linux solaris Misc. update:
This commit is contained in:
parent
a9a59d8f1d
commit
60ef06bdf6
1
MANIFEST
1
MANIFEST
@ -1205,6 +1205,7 @@
|
|||||||
./tools/testfiles/h5diff_629.txt
|
./tools/testfiles/h5diff_629.txt
|
||||||
./tools/testfiles/h5diff_70.txt
|
./tools/testfiles/h5diff_70.txt
|
||||||
./tools/testfiles/h5diff_80.txt
|
./tools/testfiles/h5diff_80.txt
|
||||||
|
./tools/testfiles/h5diff_90.txt
|
||||||
|
|
||||||
#test files for h5repack
|
#test files for h5repack
|
||||||
./tools/testfiles/test0.h5
|
./tools/testfiles/test0.h5
|
||||||
|
@ -19,6 +19,8 @@
|
|||||||
# Added the SKIP feature.
|
# Added the SKIP feature.
|
||||||
# Albert Cheng, 2005/2/3
|
# Albert Cheng, 2005/2/3
|
||||||
# Added -p option for parallel h5diff tests.
|
# Added -p option for parallel h5diff tests.
|
||||||
|
# Pedro Vicente Nunes, 10/25/2005
|
||||||
|
# Added test #9
|
||||||
|
|
||||||
H5DIFF=h5diff # The tool name
|
H5DIFF=h5diff # The tool name
|
||||||
H5DIFF_BIN=`pwd`/$H5DIFF # The path of the tool binary
|
H5DIFF_BIN=`pwd`/$H5DIFF # The path of the tool binary
|
||||||
@ -408,24 +410,26 @@ TOOLTEST h5diff_627.txt file1.h5 file2.h5 -n 200 g1/dset3 g1/dset4
|
|||||||
TOOLTEST h5diff_628.txt file1.h5 file2.h5 -n 1 g1/dset3 g1/dset4
|
TOOLTEST h5diff_628.txt file1.h5 file2.h5 -n 1 g1/dset3 g1/dset4
|
||||||
|
|
||||||
# ##############################################################################
|
# ##############################################################################
|
||||||
# # non valid files
|
# 6.29 non valid files
|
||||||
# ##############################################################################
|
# ##############################################################################
|
||||||
|
|
||||||
TOOLTEST h5diff_629.txt file1.h6 file2.h6
|
TOOLTEST h5diff_629.txt file1.h6 file2.h6
|
||||||
|
|
||||||
# ##############################################################################
|
# ##############################################################################
|
||||||
# # attributes
|
# 7. attributes
|
||||||
# ##############################################################################
|
# ##############################################################################
|
||||||
|
|
||||||
TOOLTEST h5diff_70.txt file5.h5 file6.h5 -v
|
TOOLTEST h5diff_70.txt file5.h5 file6.h5 -v
|
||||||
|
|
||||||
# ##############################################################################
|
# ##############################################################################
|
||||||
# # all dataset datatypes
|
# 8. all dataset datatypes
|
||||||
# ##############################################################################
|
# ##############################################################################
|
||||||
|
|
||||||
TOOLTEST h5diff_80.txt file7.h5 file8.h5 -v
|
TOOLTEST h5diff_80.txt file7.h5 file8.h5 -v
|
||||||
|
|
||||||
|
# 9. compare a file with itself
|
||||||
|
|
||||||
|
TOOLTEST h5diff_90.txt file1.h5 file1.h5
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
3
tools/testfiles/h5diff_90.txt
Normal file
3
tools/testfiles/h5diff_90.txt
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
#############################
|
||||||
|
Expected output for 'h5diff file1.h5 file1.h5'
|
||||||
|
#############################
|
Loading…
Reference in New Issue
Block a user