summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Wegner <swegner@hdfgroup.org>2007-03-16 18:11:56 (GMT)
committerScott Wegner <swegner@hdfgroup.org>2007-03-16 18:11:56 (GMT)
commitd3bd0649ed34c91f2cd2cdca61a29c6cc9a7575a (patch)
tree424d2d1f3f47b0b69fe56b9567573d305cdb8b58
parent05af9a85f8315fefc743c9210113d71e04715389 (diff)
downloadhdf5-d3bd0649ed34c91f2cd2cdca61a29c6cc9a7575a.zip
hdf5-d3bd0649ed34c91f2cd2cdca61a29c6cc9a7575a.tar.gz
hdf5-d3bd0649ed34c91f2cd2cdca61a29c6cc9a7575a.tar.bz2
[svn-r13519] Updated h5dump Windows test script to bring it up to date with Linux.
Tested: Visual Studio 6.0 on Windows XP
-rwxr-xr-xwindows/tools/dumptest.bat65
1 files changed, 57 insertions, 8 deletions
diff --git a/windows/tools/dumptest.bat b/windows/tools/dumptest.bat
index 8408f52..18e6041 100755
--- a/windows/tools/dumptest.bat
+++ b/windows/tools/dumptest.bat
@@ -134,12 +134,17 @@ call %tooltest% tnamed_dtype_attr.ddl
set flag=%tslink%
call %tooltest% tslink-1.ddl
+set flag=%tudlink%
+call %tooltest% tudlink-1.ddl
::-------------------------------------
::test for displaying the selected link
::-------------------------------------
set flag=-l slink2 %tslink%
call %tooltest% tslink-2.ddl
+set flag=-l udlink2 %tudlink%
+call %tooltest% tudlink-2.ddl
+
::--------------------
::tests for hard links
::--------------------
@@ -296,11 +301,11 @@ call %tooltest% tall-2B.ddl
set flag=--dataset=/g1/g1.1/dset1.1.1 --start=1,1 --stride=2,3 --count=3,2 --block=1,1 %tall%
call %tooltest% tall-4s.ddl
-::set flag=-d "/g1/g1.1/dset1.1.2[0;2;10;]" %tall%
-::call %tooltest% tall-5s.ddl
+set flag=-d "/g1/g1.1/dset1.1.2[0;2;10;]" %tall%
+call %tooltest% tall-5s.ddl
-::set flag=-d "/dset1[1,1;;;]" %tdset%
-::call %tooltest% tdset-3s.ddl
+set flag=-d "/dset1[1,1;;;]" %tdset%
+call %tooltest% tdset-3s.ddl
::set flag=-d "/dset1[;3,2;4,4;1,4]" %tdset2%
::call %tooltest% tdset2-1s.ddl
@@ -391,6 +396,23 @@ call %tooltest% tindicesyes.ddl
set flag=-y %taindices%
call %tooltest% tindicesno.ddl
+
+::-----------------------------
+::array indices with subsetting
+::-----------------------------
+
+set flag=-d 1d -s 3 -c 40 %taindices%
+call %tooltest% tindicessub1.ddl
+
+set flag=-d 2d -s 1,3 -c 6,4 %taindices%
+call %tooltest% tindicessub2.ddl
+
+set flag=-d 3d -s 0,1,3 -c 2,6,4 %taindices%
+call %tooltest% tindicessub3.ddl
+
+set flag=-d 4d -s 0,0,1,3 -c 2,2,6,4 %taindices%
+call %tooltest% tindicessub4.ddl
+
::-----------------
::tests for filters
::-----------------
@@ -426,15 +448,24 @@ call %tooltest% tallfilters.ddl zlib szip
::user defined
set flag=-H -p -d myfilter %tfilters%
call %tooltest% tuserfilter.ddl
-
-::test for displaying dataset and attribute of null space
-set flag=%tnullspace%
-call %tooltest% tnullspace.ddl
::test for displaying objects with very long names
set flag=%tlonglinks%
call %tooltest% tlonglinks.ddl
+::dimensions over 4GB, print boundary
+set flag=-d dset4gb -s 4294967284 -c 22 %tbigdims%
+call %tooltest% tbigdims.ddl
+
+::hyperslab read
+set flag=%thyperslab%
+call %tooltest% thyperslab.ddl
+
+::test for displaying dataset and attribute of null space
+set flag=%tnullspace%
+call %tooltest% tnullspace.ddl
+
+
::test for long double (Some systems do not have long double)
set flag=%tldouble%
call %tooltest% tldouble.ddl SKIP
@@ -443,6 +474,24 @@ call %tooltest% tldouble.ddl SKIP
set flag=%tvms%
call %tooltest% tvms.ddl
+
+::test for binary output
+set flag=-d integer -o out1.bin -b LE %tbinary%
+call %tooltest% tbin1.ddl
+
+set flag=-d float -o out2.bin -b BE %tbinary%
+call %tooltest% tbin2.ddl
+
+set flag=-d array -o out3.bin -b MEMORY %tbinary%
+call %tooltest% tbin3.ddl
+
+set flag=-d double -o out4.bin -b FILE %tbinary%
+call %tooltest% tbin4.ddl
+
+::test for dataset region references
+set flag=%tdatareg%
+call %tooltest% tregref.ddl
+
echo.
echo.****************************************************
echo. h5dump%2 %1 XML T E S T S