summaryrefslogtreecommitdiffstats
path: root/windows/hdf5bt.BAT
diff options
context:
space:
mode:
authorScot Breitenfeld <brtnfld@hdfgroup.org>2008-04-30 19:23:26 (GMT)
committerScot Breitenfeld <brtnfld@hdfgroup.org>2008-04-30 19:23:26 (GMT)
commit5773fd34bc5adf59b4530d95ac9f0c0585902803 (patch)
tree456ad239799382e1f083fb7fc74399e43b471912 /windows/hdf5bt.BAT
parent0138995d1ce2068db1f790503435a2121132d3ad (diff)
downloadhdf5-5773fd34bc5adf59b4530d95ac9f0c0585902803.zip
hdf5-5773fd34bc5adf59b4530d95ac9f0c0585902803.tar.gz
hdf5-5773fd34bc5adf59b4530d95ac9f0c0585902803.tar.bz2
[svn-r14902] Merged fortran_1_8 branch changes r14505:14901 into the trunk. New fortran wrappers added.
Diffstat (limited to 'windows/hdf5bt.BAT')
-rwxr-xr-xwindows/hdf5bt.BAT48
1 files changed, 3 insertions, 45 deletions
diff --git a/windows/hdf5bt.BAT b/windows/hdf5bt.BAT
index 192940e..26b1e14 100755
--- a/windows/hdf5bt.BAT
+++ b/windows/hdf5bt.BAT
@@ -19,9 +19,6 @@ rem This batch file takes the following options:
rem . /fort Build and test HDF5 with Fortran libraries
rem . /useenv Build HDF5 using compiler settings defined
rem . in the environment, rather than the IDE.
-rem . /log Log the build and test results in files defined by
-rem . environment variables HDF5BUILD_LOG and
-rem . HDF5CHECK_LOG
rem . /? Help information
rem By Xuan Bai
rem Created: Aug. 16, 2004
@@ -36,8 +33,6 @@ rem - szip and zlib DLLs are already placed in an accessible directory
rem - hdf5_ext_szip or hdf5_ext_zlib have been set accordingly
rem - if building with the /useenv option, szip and zlib paths have been added
rem to %include% and %libpath% as necessary.
-rem - if using the /log option, hdf5build_log and hdf5_check log should be defined
-rem - in the environment.
rem By default, only C and C++ libraries are built and tested.
@@ -45,7 +40,6 @@ setlocal enabledelayedexpansion
pushd %~dp0
set nerrors=0
-if "%1"=="/?" goto help
goto main
rem Print a help message
@@ -75,10 +69,6 @@ rem Parse through the parameters sent to file, and set appropriate variables
rem Pass /useenv flag to devenv
set hdf5_useenv=true
- ) else if "%%a"=="/log" (
- rem Log our results to files defined in environment
- set hdf5_logresults=true
-
) else if "%%a"=="/?" (
rem Set errorlevel 1 and send to help
call :help
@@ -112,49 +102,21 @@ rem Setup our environment
set hdf5build_params=%hdf5build_params% /useenv
)
- rem Clear out our log files if they will be used
- if defined hdf5_logresults (
- if not defined hdf5build_log (
- echo.Error: HDF5BUILD_LOG not defined in environment!
- exit /b 1
- ) else (
- type nul > !hdf5build_log!
- )
-
- if not defined hdf5check_log (
- echo.Error: HDF5CHECK_LOG not defined in environment!
- exit /b 1
- ) else (
- type nul > !hdf5check_log!
- )
- )
-
exit /b 0
rem Build HDF5 libraries and tools
:build
- if defined hdf5_logresults (
- echo.Calling hdf5bbuild.bat %hdf5build_params%
- echo.Results logged in %hdf5build_log%
- call hdf5build.bat %hdf5build_params% > !hdf5build_log! 2>&1
- ) else (
- call hdf5build.bat %hdf5build_params%
- )
+ call hdf5build.bat %hdf5build_params%
exit /b
rem Test our libraries and tools
:test
- if defined hdf5_logresults (
- echo.Calling hdf5check.bat %hdf5check_params%
- echo.Results logged in %hdf5check_log%
- call hdf5check %hdf5check_params% > !hdf5check_log! 2>&1
- ) else (
- call hdf5check %hdf5check_params%
- )
+
+ call hdf5check %hdf5check_params%
exit /b
@@ -189,10 +151,6 @@ rem This is where the magic happens
)
call :setup
- if %errorlevel% neq 0 (
- echo.Error setting up hdf5bt environment!
- goto error
- )
echo.*****************************************************************************
echo. Build and Test HDF5 Library and Tools