From b8036fc5f6db4b6ddd528e741697224db7aba23a Mon Sep 17 00:00:00 2001 From: Scott Wegner Date: Mon, 20 Apr 2009 13:24:28 -0500 Subject: [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 --- windows/tools/h5repack/h5repack.bat | 11 +++++++++-- 1 file 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. ) -- cgit v0.12