summaryrefslogtreecommitdiffstats
path: root/windows/tools/h5dump
diff options
context:
space:
mode:
authorScott Wegner <swegner@hdfgroup.org>2008-11-17 19:12:14 (GMT)
committerScott Wegner <swegner@hdfgroup.org>2008-11-17 19:12:14 (GMT)
commitb3b538cf581ecf0a5ce9fa883a16061fda84b881 (patch)
tree6e1d3e944094ef3a2c51dcde772b2a0ee8535c18 /windows/tools/h5dump
parente86e9f49f65d15a120d5933b8be5c9fb118aa4ab (diff)
downloadhdf5-b3b538cf581ecf0a5ce9fa883a16061fda84b881.zip
hdf5-b3b538cf581ecf0a5ce9fa883a16061fda84b881.tar.gz
hdf5-b3b538cf581ecf0a5ce9fa883a16061fda84b881.tar.bz2
[svn-r16084] Purpose: Update Windows tool test scripts
Description: Bring changes from the various tool test scripts to Windows. testh5copy.bat: add syntax for tests which expect h5diff to fail, and apply them to existing tests testh5diff.bat: add a new test for "contents mode" testh5dump.bat: modify some tests to use the new "-b *" and "-b NATIVE" syntax h5repack.bat: call h5dump without the -c switch Tested: VS2005 on WinXP
Diffstat (limited to 'windows/tools/h5dump')
-rw-r--r--windows/tools/h5dump/testh5dump.bat15
1 files changed, 10 insertions, 5 deletions
diff --git a/windows/tools/h5dump/testh5dump.bat b/windows/tools/h5dump/testh5dump.bat
index 487db64..afad801 100644
--- a/windows/tools/h5dump/testh5dump.bat
+++ b/windows/tools/h5dump/testh5dump.bat
@@ -557,21 +557,26 @@ rem ############################################################################
rem directory, and using it only gets in the way of the output formatting.
rem --SJW 8/24/07
call :tooltest1 tbin1.ddl -d integer -o out1.bin -b LE tbinary.h5
- call :tooltest1 tbin2.ddl -d float -o out2.bin -b BE tbinary.h5
- rem the MEMORY test can be validated with h5import/h5diff
- call :tooltest1 tbin3.ddl -d integer -o out3.bin -b MEMORY tbinary.h5
+ rem NATIVE default. the NATIVE test can be validated with h5import/h5diff
+ call :tooltest1 tbin1.ddl -d integer -o out1.bin -b MEMORY tbinary.h5
+ call :importtest out1.bin -c out3.h5import -o out1.h5
+ call :difftest tbinary.h5 out1.h5 /integer /integer
+
+ call :tooltest1 tbin2.ddl -b BE -d float -o out2.bin tbinary.h5
+
+ rem the NATIVE test can be validated with h5import/h5diff
+ call :tooltest1 tbin3.ddl -d integer -o out3.bin -b NATIVE tbinary.h5
call :importtest out3.bin -c out3.h5import -o out3.h5
call :difftest tbinary.h5 out3.h5 /integer /integer
- call :tooltest1 tbin4.ddl -d double -o out4.bin -b FILE tbinary.h5
+ call :tooltest1 tbin4.ddl -d double -b FILE -o out4.bin tbinary.h5
rem Clean up binary output files
if not defined hdf5_nocleanup (
for /l %%a in (1,1,4) do del /f %testdir%\out%%a.bin
del /f %testdir%\out3.h5
)
-
rem test for dataset region references
call :tooltest tdatareg.ddl tdatareg.h5