diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2009-07-02 19:22:12 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2009-07-02 19:22:12 (GMT) |
commit | 918973d9fc5b96cd559546eb5e09c87542ce598d (patch) | |
tree | 50901a0e86600485efe4bb15087b142092c83673 /windows/c++/examples/testcppExamples.BAT | |
parent | 763e6be682e7da0697063b7fea788de5d8580a45 (diff) | |
download | hdf5-918973d9fc5b96cd559546eb5e09c87542ce598d.zip hdf5-918973d9fc5b96cd559546eb5e09c87542ce598d.tar.gz hdf5-918973d9fc5b96cd559546eb5e09c87542ce598d.tar.bz2 |
[svn-r17143] Description:
Bring r17084:17142 from trunk to revise_chunks brach
Tested on:
FreeBSD/32 6.3 (duty)
(h5committest not required on this branch)
Diffstat (limited to 'windows/c++/examples/testcppExamples.BAT')
-rwxr-xr-x | windows/c++/examples/testcppExamples.BAT | 93 |
1 files changed, 7 insertions, 86 deletions
diff --git a/windows/c++/examples/testcppExamples.BAT b/windows/c++/examples/testcppExamples.BAT index b10fd0f..a6a83ed 100755 --- a/windows/c++/examples/testcppExamples.BAT +++ b/windows/c++/examples/testcppExamples.BAT @@ -19,94 +19,15 @@ REM Last Modified: 10/20/2004 if %1.==. GOTO WRONG
if "%1"=="/?" GOTO HELP
-if %1==release GOTO RELEASE
-if %1==debug GOTO DEBUG
-GOTO WRONG
-:RELEASE
-if %2.==. GOTO REL
-if %2==dll GOTO RELDLL
-GOTO WRONG
-
-:REL
-type nul > %1.txt
-cd cppexamplesREL
-createtest >> ..\%1.txt
-readdatatest >> ..\%1.txt
-writedatatest >> ..\%1.txt
-compoundtest >> ..\%1.txt
-extend_dstest >> ..\%1.txt
-chunkstest >> ..\%1.txt
-h5grouptest >> ..\%1.txt
-cd ..
-fc %1.txt expected.out >temp.txt
-if %ERRORLEVEL%==0 (
- echo All HDF5 C++ examples tests passed.
-) else (
- echo HDF5 C++ examples tests failed.
- more temp.txt
-)
-del temp.txt
-GOTO END
-
-:RELDLL
-type nul > %1.txt
-cd cppexamplesRELDLL
-createtestdll >> ..\%1.txt
-readdatatestdll >> ..\%1.txt
-writedatatestdll >> ..\%1.txt
-compoundtestdll >> ..\%1.txt
-extend_dstestdll >> ..\%1.txt
-chunkstestdll >> ..\%1.txt
-h5grouptestdll >> ..\%1.txt
-cd ..
-fc %1.txt expected.out >temp.txt
-if %ERRORLEVEL%==0 (
- echo All HDF5 C++ examples tests passed.
-) else (
- echo HDF5 C++ examples tests failed.
- more temp.txt
-)
-del temp.txt
-GOTO END
-
-:DEBUG
-if %2.==. GOTO DBG
-if %2==dll GOTO DBGDLL
-GOTO WRONG
-
-:DBG
-type nul > %1.txt
-cd cppexamplesDBG
-createtest >> ..\%1.txt
-readdatatest >> ..\%1.txt
-writedatatest >> ..\%1.txt
-compoundtest >> ..\%1.txt
-extend_dstest >> ..\%1.txt
-chunkstest >> ..\%1.txt
-h5grouptest >> ..\%1.txt
-cd ..
-fc %1.txt expected.out >temp.txt
-if %ERRORLEVEL%==0 (
- echo All HDF5 C++ examples tests passed.
-) else (
- echo HDF5 C++ examples tests failed.
- more temp.txt
-)
-del temp.txt
-GOTO END
-
-:DBGDLL
type nul > %1.txt
-cd cppexamplesDBGDLL
-createtestdll >> ..\%1.txt
-readdatatestdll >> ..\%1.txt
-writedatatestdll >> ..\%1.txt
-compoundtestdll >> ..\%1.txt
-extend_dstestdll >> ..\%1.txt
-chunkstestdll >> ..\%1.txt
-h5grouptestdll >> ..\%1.txt
-cd ..
+createtest%2\%1\createtest%2 >> %1.txt
+readdatatest%2\%1\readdatatest%2 >> %1.txt
+writedatatest%2\%1\writedatatest%2 >> %1.txt
+compoundtest%2\%1\compoundtest%2 >> %1.txt
+extend_dstest%2\%1\extend_dstest%2 >> %1.txt
+chunkstest%2\%1\chunkstest%2 >> %1.txt
+h5grouptest%2\%1\h5grouptest%2 >> %1.txt
fc %1.txt expected.out >temp.txt
if %ERRORLEVEL%==0 (
echo All HDF5 C++ examples tests passed.
|