From 7b47b79f2dd750810944a8adbb07a0da8b9a8c64 Mon Sep 17 00:00:00 2001 From: Scott Wegner Date: Mon, 20 Apr 2009 13:14:09 -0500 Subject: [svn-r16805] 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 6253d1f9..009c64e 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 @@ -549,8 +550,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) @@ -605,6 +608,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