From 314b3f597b0656820598ab89295af96fea24fd63 Mon Sep 17 00:00:00 2001 From: MuQun Yang Date: Mon, 11 Sep 2006 19:41:11 -0500 Subject: [svn-r12660] More revision for the h5repack batch file for with and without gzip/szlib compression filters --- windows/tools/repacktest.BAT | 39 ++++++++++++++++++++------------------- 1 file changed, 20 insertions(+), 19 deletions(-) diff --git a/windows/tools/repacktest.BAT b/windows/tools/repacktest.BAT index d3b58de..c6e53c2 100755 --- a/windows/tools/repacktest.BAT +++ b/windows/tools/repacktest.BAT @@ -277,10 +277,11 @@ set flag=-i %test_szip% -o %output_szip% :: The following checks whether szip library is available, :: If not, skip the test. ::----------- -if "%HDF5_EXT_SZIP%"=="" goto SKIP_SZIP_COPY -call %tooltest% %test_szip% %nodiff% -: SKIP_SZIP_COPY -call %tooltest% %test_szip% %nodiff% skip +if "%HDF5_EXT_SZIP%"=="" ( + call %tooltest% %test_szip% %nodiff% skip +) else ( + call %tooltest% %test_szip% %nodiff% +) ::------------ ::szip remove @@ -291,11 +292,11 @@ set flag=-i %test_szip% -o %output_szip% -f dset_szip:NONE :: The following checks whether szip library is available, :: If not, skip the test. ::----------- -if "%HDF5_EXT_SZIP%"=="" goto SKIP_SZIP_REMOVE -call %tooltest% %test_szip% %nodiff% - -: SKIP_SZIP_REMOVE -call %tooltest% %test_szip% %nodiff% skip +if "%HDF5_EXT_SZIP%"=="" ( + call %tooltest% %test_szip% %nodiff% skip +) else ( + call %tooltest% %test_szip% %nodiff% +) ::-------------- :: deflate copy @@ -306,11 +307,11 @@ set flag=-i %test_deflate% -o %output_deflate% :: The following checks whether zlib library is available, :: If not, skip the test. ::----------- -if "%HDF5_EXT_ZLIB%"=="" goto SKIP_ZLIB_COPY -call %tooltest% %test_deflate% %nodiff% - -: SKIP_ZLIB_COPY -call %tooltest% %test_deflate% %nodiff% skip +if "%HDF5_EXT_ZLIB%"=="" ( + call %tooltest% %test_deflate% %nodiff% skip +) else ( + call %tooltest% %test_deflate% %nodiff% skip +) ::--------------- :: deflate remove @@ -321,11 +322,11 @@ set flag=-i %test_deflate% -o %output_deflate% -f dset_deflate:NONE :: The following checks whether zlib library is available, :: If not, skip the test. ::----------- -if "%HDF5_EXT_ZLIB%"=="" goto SKIP_ZLIB_REMOVE -call %tooltest% %test_deflate% %nodiff% - -: SKIP_ZLIB_REMOVE -call %tooltest% %test_deflate% %nodiff% skip +if "%HDF5_EXT_ZLIB%"=="" ( + call %tooltest% %test_deflate% %nodiff% skip +) else ( + call %tooltest% %test_deflate% %nodiff% +) ::-------------- -- cgit v0.12