summaryrefslogtreecommitdiffstats
path: root/windows/hl/examples
diff options
context:
space:
mode:
authorFang Guo <fangguo@ncsa.uiuc.edu>2006-03-07 19:56:59 (GMT)
committerFang Guo <fangguo@ncsa.uiuc.edu>2006-03-07 19:56:59 (GMT)
commit8199e183e5ce7ed530337a038dda7c75fd0ef490 (patch)
treee0f0396d5b9a9c5a011866d8a123d81303678323 /windows/hl/examples
parent1214d6bd7b19ee00d29603cba2c17c62863403d7 (diff)
downloadhdf5-8199e183e5ce7ed530337a038dda7c75fd0ef490.zip
hdf5-8199e183e5ce7ed530337a038dda7c75fd0ef490.tar.gz
hdf5-8199e183e5ce7ed530337a038dda7c75fd0ef490.tar.bz2
[svn-r12031] Purpose:
Maintenance on Windows Description: Include more hl examples and batch file improvement Solution: Platforms tested: Windows XP Misc. update:
Diffstat (limited to 'windows/hl/examples')
-rw-r--r--windows/hl/examples/test_hl_cexamples.BAT20
1 files changed, 17 insertions, 3 deletions
diff --git a/windows/hl/examples/test_hl_cexamples.BAT b/windows/hl/examples/test_hl_cexamples.BAT
index bb652b9..099151b 100644
--- a/windows/hl/examples/test_hl_cexamples.BAT
+++ b/windows/hl/examples/test_hl_cexamples.BAT
@@ -16,6 +16,9 @@
@:: Created : 07/26/2005
@:: Last Modified:
+:: Track errors
+set total_error=0
+
if %1.==. GOTO WRONG
if "%1"=="/?" GOTO HELP
if "%1"=="release" GOTO CONFIG
@@ -31,9 +34,20 @@ GOTO WRONG
:TEST
echo Testing %1 %2 version of High Level examples
echo.
-HLCexamples%1%2\ex_lite%2
-HLCexamples%1%2\ex_images%2
-HLCexamples%1%2\ex_table%2
+
+for %%i in (ds lite table images packet) do (
+HLCexamples%1%2\ex_%%i%2
+if not %errorlevel%==0 set /A totalerror=totalerror+1
+)
+
+
+if %total_error%==0 (
+echo.
+echo. All of the HL C Examples Passed!
+) else (
+echo.
+echo. %total_error% HL C Examples Failed!
+)
GOTO END