summaryrefslogtreecommitdiffstats
path: root/windows/hdf5check.BAT
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2009-10-27 21:37:26 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2009-10-27 21:37:26 (GMT)
commit597739142f65d71f1ccf9eeeda6568b147e506b5 (patch)
treeb8794d6a67f14ad26a055afe0f98991e0172a6c9 /windows/hdf5check.BAT
parent3df83b192dbac78e5cb90a8933c24476cbc4b214 (diff)
downloadhdf5-597739142f65d71f1ccf9eeeda6568b147e506b5.zip
hdf5-597739142f65d71f1ccf9eeeda6568b147e506b5.tar.gz
hdf5-597739142f65d71f1ccf9eeeda6568b147e506b5.tar.bz2
[svn-r17758] Remove .NET references from windows text files and batch files
Diffstat (limited to 'windows/hdf5check.BAT')
-rwxr-xr-xwindows/hdf5check.BAT11
1 files changed, 9 insertions, 2 deletions
diff --git a/windows/hdf5check.BAT b/windows/hdf5check.BAT
index ffa53f0..c955241 100755
--- a/windows/hdf5check.BAT
+++ b/windows/hdf5check.BAT
@@ -82,7 +82,12 @@ rem %2 - "dll" or nothing
rem Only add our parameters for batch scripts.
call !hdf5_test_%%a_test:.bat= %1 %2!
rem Exit early if test fails.
- if errorlevel 1 (
+ if not errorlevel 0 (
+ set /a nerrors=!nerrors!+1
+ echo. Testing %%a ^(%1 %2^) FAILED
+ echo.**==**==**==**==**==**==**==**==**==**
+ exit /b 1
+ ) else if errorlevel 1 (
set /a nerrors=!nerrors!+1
echo. Testing %%a ^(%1 %2^) FAILED
echo.**==**==**==**==**==**==**==**==**==**
@@ -127,7 +132,9 @@ rem on it for sending parameters. --SJW 9/6/07
for %%a in (debug release) do (
set hdf5_config=%%a %%b
call :run_tests !hdf5_config:nodll=!
- if errorlevel 1 (
+ if not errorlevel 0 (
+ set /a nerrors=!nerrors!+1
+ ) else if errorlevel 1 (
set /a nerrors=!nerrors!+1
)
)