mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
[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
This commit is contained in:
parent
c7aa94f4ec
commit
b8036fc5f6
@ -63,6 +63,7 @@ set file12=h5repack_nbit.h5
|
|||||||
set file13=h5repack_soffset.h5
|
set file13=h5repack_soffset.h5
|
||||||
rem A file with an older version of the layout message (copy of test/tlayouto.h5)
|
rem A file with an older version of the layout message (copy of test/tlayouto.h5)
|
||||||
set file14=h5repack_layouto.h5
|
set file14=h5repack_layouto.h5
|
||||||
|
set file15=h5repack_named_dtypes.h5
|
||||||
|
|
||||||
|
|
||||||
set nerrors=0
|
set nerrors=0
|
||||||
@ -548,8 +549,10 @@ rem
|
|||||||
call :tooltest %arg9%
|
call :tooltest %arg9%
|
||||||
|
|
||||||
rem Native option
|
rem Native option
|
||||||
set arg=%file1% -n
|
rem Do not use FILE1, as the named dtype will be converted to native, and h5diff will
|
||||||
call :tooltest %arg%
|
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)
|
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
|
set arg=%file1% -f GZIP=1
|
||||||
call :tooltest %arg%
|
call :tooltest %arg%
|
||||||
|
|
||||||
|
rem Check repacking file with committed datatypes in odd configurations
|
||||||
|
call :tooltest %file15%
|
||||||
|
|
||||||
|
|
||||||
if %nerrors% equ 0 (
|
if %nerrors% equ 0 (
|
||||||
echo.All %h5repack% tests passed.
|
echo.All %h5repack% tests passed.
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user