summaryrefslogtreecommitdiffstats
path: root/windows
diff options
context:
space:
mode:
authorFang Guo <fangguo@ncsa.uiuc.edu>2005-12-20 20:32:27 (GMT)
committerFang Guo <fangguo@ncsa.uiuc.edu>2005-12-20 20:32:27 (GMT)
commit9121ddec8383deb39643612c53354439db4bdf3e (patch)
tree6fad88f5388fdc35c247fa34894c340e4f5e620f /windows
parent91ddc081ba173814b45a952c7e36ee2b8c5b0014 (diff)
downloadhdf5-9121ddec8383deb39643612c53354439db4bdf3e.zip
hdf5-9121ddec8383deb39643612c53354439db4bdf3e.tar.gz
hdf5-9121ddec8383deb39643612c53354439db4bdf3e.tar.bz2
[svn-r11805] Purpose:
Maintenance on Windows Description: Add batch file to test hl fortran examples Solution: Platforms tested: Windows XP Misc. update:
Diffstat (limited to 'windows')
-rw-r--r--windows/hl/fortran/examples/test_hl_f90examples.BAT60
1 files changed, 60 insertions, 0 deletions
diff --git a/windows/hl/fortran/examples/test_hl_f90examples.BAT b/windows/hl/fortran/examples/test_hl_f90examples.BAT
new file mode 100644
index 0000000..6466d82
--- /dev/null
+++ b/windows/hl/fortran/examples/test_hl_f90examples.BAT
@@ -0,0 +1,60 @@
+@REM Copyright by the Board of Trustees of the University of Illinois.
+@REM All rights reserved.
+@REM
+@REM This file is part of HDF5. The full HDF5 copyright notice, including
+@REM terms governing use, modification, and redistribution, is contained in
+@REM the files COPYING and Copyright.html. COPYING can be found at the root
+@REM of the source code distribution tree; Copyright.html can be found at the
+@REM root level of an installed copy of the electronic HDF5 document set and
+@REM is linked from the top-level documents page. It can also be found at
+@REM http://hdf.ncsa.uiuc.edu/HDF5/doc/Copyright.html. If you do not have
+@REM access to either file, you may request a copy from hdfhelp@ncsa.uiuc.edu.
+
+@ECHO OFF
+@:: This batch file is used to test HDF5 High Level Fortran examples.
+@:: Written by : Fang GUO
+@:: Created : 12/20/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 Fortran examples
+echo.
+
+HLf90examples%1%2\ex_lite%2
+
+GOTO END
+
+:WRONG
+echo The syntax of the command is incorrect.
+echo Use test_hl_f90examples /? for usage informtaion
+echo.
+GOTO END
+
+:HELP
+echo Tests HDF5 High Level Fortran examples.
+echo.
+echo test_hl_f90examples [OPTION]
+echo.
+echo Please use one of the following options!
+echo.
+echo test_hl_f90examples release test HDF5 HL Fortran examples -- release version
+echo test_hl_f90examples release dll test HDF5 HL Fortran examples -- release dll version
+echo test_hl_f90examples debug test HDF5 HL Fortran examples -- debug version
+echo test_hl_f90examples debug dll test HDF5 HL Fortran examples -- debug dll version
+echo test_hl_f90examples /? Help information
+echo.
+GOTO END
+
+:END