diff options
author | Fang Guo <fangguo@ncsa.uiuc.edu> | 2005-07-26 22:18:15 (GMT) |
---|---|---|
committer | Fang Guo <fangguo@ncsa.uiuc.edu> | 2005-07-26 22:18:15 (GMT) |
commit | 62e6bc99b0cb9b85d2a3bb2da1318798ed4e0bb7 (patch) | |
tree | 7e9e84c129eb396d6e9c704c8b140cbd4a89e221 /windows/hl | |
parent | 340bade33a7338a8f786d9146d1e7dcb41707119 (diff) | |
download | hdf5-62e6bc99b0cb9b85d2a3bb2da1318798ed4e0bb7.zip hdf5-62e6bc99b0cb9b85d2a3bb2da1318798ed4e0bb7.tar.gz hdf5-62e6bc99b0cb9b85d2a3bb2da1318798ed4e0bb7.tar.bz2 |
[svn-r11158] Purpose:
Improvement
Description:
Add batch file to test high level c library examples
Solution:
Platforms tested:
Windows XP
Misc. update:
Diffstat (limited to 'windows/hl')
-rwxr-xr-x | windows/hl/hl_c_examples/test_hl_cexamples.BAT | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/windows/hl/hl_c_examples/test_hl_cexamples.BAT b/windows/hl/hl_c_examples/test_hl_cexamples.BAT new file mode 100755 index 0000000..740a4ce --- /dev/null +++ b/windows/hl/hl_c_examples/test_hl_cexamples.BAT @@ -0,0 +1,49 @@ +@ECHO OFF +@:: This batch file is used to test HDF5 High Level C examples. +@:: Written by : Fang GUO +@:: Created : 07/26/2005 +@:: Last Modified: + +if %1.==. GOTO WRONG +if "%1"=="/?" GOTO HELP +if "%1"=="release" GOTO CONFIG +if "%1"=="debug" GOTO CONFIG + +GOTO WRONG + +:CONFIG +if "%2"=="dll" GOTO TEST +if %2.==. GOTO TEST +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 + +GOTO END + +:WRONG +echo The syntax of the command is incorrect. +echo Use test_hl_cexamples /? for usage informtaion +echo. +GOTO END + +:HELP +echo Tests HDF5 High Level C examples. +echo. +echo test_hl_cexamples [OPTION] +echo. +echo Please use one of the following options! +echo. +echo test_hl_cexamples release test HDF5 HL C examples -- release version +echo test_hl_cexamples release dll test HDF5 HL C examples -- release dll version +echo test_hl_cexamples debug test HDF5 HL C examples -- debug version +echo test_hl_cexamples debug dll test HDF5 HL C examples -- debug dll version +echo test_hl_cexamples /? Help information +echo. +GOTO END + +:END |