summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Wegner <swegner@hdfgroup.org>2009-04-20 18:24:28 (GMT)
committerScott Wegner <swegner@hdfgroup.org>2009-04-20 18:24:28 (GMT)
commitb8036fc5f6db4b6ddd528e741697224db7aba23a (patch)
tree9bd92b95a40e03e00ad34529a7c66fae9825c67e
parentc7aa94f4ec728ebaae0502ece4e518224a73da7c (diff)
downloadhdf5-b8036fc5f6db4b6ddd528e741697224db7aba23a.zip
hdf5-b8036fc5f6db4b6ddd528e741697224db7aba23a.tar.gz
hdf5-b8036fc5f6db4b6ddd528e741697224db7aba23a.tar.bz2
[svn-r16806] Purpose: Add new h5repack tests to Windows
Description: Three new tests were added to the h5repack test script in rev.16802. This checkin brings those new tests to Windows as well. Tested: VS2005 on WinXP x64
-rw-r--r--windows/tools/h5repack/h5repack.bat11
1 files changed, 9 insertions, 2 deletions
diff --git a/windows/tools/h5repack/h5repack.bat b/windows/tools/h5repack/h5repack.bat
index 536c327..27c1c12 100644
--- a/windows/tools/h5repack/h5repack.bat
+++ b/windows/tools/h5repack/h5repack.bat
@@ -63,6 +63,7 @@ set file12=h5repack_nbit.h5
set file13=h5repack_soffset.h5
rem A file with an older version of the layout message (copy of test/tlayouto.h5)
set file14=h5repack_layouto.h5
+set file15=h5repack_named_dtypes.h5
set nerrors=0
@@ -548,8 +549,10 @@ rem
call :tooltest %arg9%
rem Native option
- set arg=%file1% -n
- call :tooltest %arg%
+ rem Do not use FILE1, as the named dtype will be converted to native, and h5diff will
+ rem report a difference.
+ call :tooltest %file0% -n
+ call :tooltest %file2% -n
rem latest file format with long switches. use FILE4=h5repack_layout.h5 (no filters)
@@ -604,6 +607,10 @@ rem
set arg=%file1% -f GZIP=1
call :tooltest %arg%
+ rem Check repacking file with committed datatypes in odd configurations
+ call :tooltest %file15%
+
+
if %nerrors% equ 0 (
echo.All %h5repack% tests passed.
)