summaryrefslogtreecommitdiffstats
path: root/windows/tools/tooltest.bat
diff options
context:
space:
mode:
authorMuQun Yang <ymuqun@hdfgroup.org>2006-10-20 01:43:43 (GMT)
committerMuQun Yang <ymuqun@hdfgroup.org>2006-10-20 01:43:43 (GMT)
commit5d1ebe6b0acc5a9a0de9d8482387178d68fa794b (patch)
treeebf7087248e5e75f5943ad228bbe3b901fb6b4b5 /windows/tools/tooltest.bat
parent2a973f740a3d0f79c315bd7fe4ffac85f4ef67f0 (diff)
downloadhdf5-5d1ebe6b0acc5a9a0de9d8482387178d68fa794b.zip
hdf5-5d1ebe6b0acc5a9a0de9d8482387178d68fa794b.tar.gz
hdf5-5d1ebe6b0acc5a9a0de9d8482387178d68fa794b.tar.bz2
[svn-r12790] Add a new batch file to test h5stat.
Update repacktest.bat for the new h5repack test. Update tooltest.bat to include h5stat test.
Diffstat (limited to 'windows/tools/tooltest.bat')
-rwxr-xr-xwindows/tools/tooltest.bat17
1 files changed, 12 insertions, 5 deletions
diff --git a/windows/tools/tooltest.bat b/windows/tools/tooltest.bat
index b3e648a..2a9d448 100755
--- a/windows/tools/tooltest.bat
+++ b/windows/tools/tooltest.bat
@@ -18,8 +18,11 @@
::---importtest.bat
::---lstest.bat
::---repacktest.bat
+::---stattest.bat
:: Written By: Fang GUO
:: Date : Jan. 12, 2006
+:: Modified By: MuQun Yang
+:: Date : Oct. 19, 2006
:: Setting the starting column number for "PASSED/FAILED/SKIPED"
@@ -35,6 +38,7 @@
if %test_exefile%==h5diff goto COMMON
if %test_exefile%==h5dump goto DUMP
if %test_exefile%==h5ls goto COMMON
+ if %test_exefile%==h5stat goto COMMON
if %test_exefile%==h5import goto IMPORT
:: This block is for Repack test
@@ -177,11 +181,10 @@
:: Call tooltest with the following parameters set in difftest.bat
:: 1. expected_outputfile.txt
:: 2. flags
-
+
::Set a flaghandle for output tests results
set flagout=%flag:..\..\testfiles\=%
- set flagout=%flagout:..\..\temptest\=%
-
+ set flagout=%flagout:..\..\temptest\=%
if "%2%"=="SKIP" goto SKIP
::Set the file name and path for the expected and actual outputs
set exp_file=..\..\temptest\%1
@@ -193,8 +196,12 @@
if "%2%"=="MASK" goto MASK
more /e +%ln% ..\..\temptest\temp.txt > %actual_output%
- more /e +%ln_exp% ..\..\testfiles\%1 > %exp_file%
-
+
+ if %test_exefile%==h5stat (
+ more /e +%ln_exp% ..\..\misc\testfiles\%1 > %exp_file%
+ ) else (
+ more /e +%ln_exp% ..\..\testfiles\%1 > %exp_file%
+ )
::Clean up temporary file
del ..\..\temptest\temp.txt
goto RESULTS