summaryrefslogtreecommitdiffstats
path: root/windows/tools/h5repack/h5repack.bat
diff options
context:
space:
mode:
authorScott Wegner <swegner@hdfgroup.org>2007-11-19 17:59:53 (GMT)
committerScott Wegner <swegner@hdfgroup.org>2007-11-19 17:59:53 (GMT)
commit27e823f08b9c3dfa303ea9bdee9244cb493b5ae6 (patch)
treeba1fd325283cbda6b9ecbb181a99f025e8b2b72e /windows/tools/h5repack/h5repack.bat
parentd3507c4a5aaf7709e7794ceb6a54912ad123a6e0 (diff)
downloadhdf5-27e823f08b9c3dfa303ea9bdee9244cb493b5ae6.zip
hdf5-27e823f08b9c3dfa303ea9bdee9244cb493b5ae6.tar.gz
hdf5-27e823f08b9c3dfa303ea9bdee9244cb493b5ae6.tar.bz2
[svn-r14265] Purpose: Bring Windows test scripts up to date for h5diff changes.
Description: Recently, the format of parameters for h5diff was changed. This checkin makes the neccessary changes for Windows to also bring it up to date. Tested: VS6 on WinXP
Diffstat (limited to 'windows/tools/h5repack/h5repack.bat')
-rw-r--r--windows/tools/h5repack/h5repack.bat14
1 files changed, 9 insertions, 5 deletions
diff --git a/windows/tools/h5repack/h5repack.bat b/windows/tools/h5repack/h5repack.bat
index 8d45115..ae97db4 100644
--- a/windows/tools/h5repack/h5repack.bat
+++ b/windows/tools/h5repack/h5repack.bat
@@ -117,7 +117,7 @@ rem was unavailable)
rem Call the h5diff tool
rem
:difftest
- %h5diff_bin% %* -q
+ %h5diff_bin% -q %*
if %errorlevel% neq 0 (
call :verify *FAILED* %*
set /a nerrors=!nerrors!+1
@@ -142,9 +142,13 @@ rem
rem We define %params% here because Windows `shift` command doesn't affect
rem the %* variable. --SJW 8/28/07
- set params=%*
- set params=%params: *=%
- %h5repack_bin% -i %infile% -o %outfile% %params%
+ if "%2"=="" (
+ set params=
+ ) else (
+ set params=%*
+ set params=!params:* =!
+ )
+ %h5repack_bin% %params% %infile% %outfile%
if %errorlevel% neq 0 (
call :testing *FAILED* %*
@@ -521,4 +525,4 @@ rem
popd
endlocal & exit /b %nerrors%
- \ No newline at end of file
+