summaryrefslogtreecommitdiffstats
path: root/windows/tools
diff options
context:
space:
mode:
authorFang Guo <fangguo@ncsa.uiuc.edu>2005-10-26 22:10:48 (GMT)
committerFang Guo <fangguo@ncsa.uiuc.edu>2005-10-26 22:10:48 (GMT)
commitcef7b9f008467d0fc76bad4dbbe901a3ddf7f6d5 (patch)
treee05cb0c4ab6e457a616858e1c4a6cf984094943a /windows/tools
parent91715368236e3516f89f2fbdd85cfb21e76263c6 (diff)
downloadhdf5-cef7b9f008467d0fc76bad4dbbe901a3ddf7f6d5.zip
hdf5-cef7b9f008467d0fc76bad4dbbe901a3ddf7f6d5.tar.gz
hdf5-cef7b9f008467d0fc76bad4dbbe901a3ddf7f6d5.tar.bz2
[svn-r11611] Purpose:
Maintenance on Windows Description: Add new h5diff test into batch file difftest.bat Solution: Platforms tested: Windows XP Misc. update:
Diffstat (limited to 'windows/tools')
-rwxr-xr-xwindows/tools/difftest.BAT24
1 files changed, 23 insertions, 1 deletions
diff --git a/windows/tools/difftest.BAT b/windows/tools/difftest.BAT
index 3ae88ef..439843a 100755
--- a/windows/tools/difftest.BAT
+++ b/windows/tools/difftest.BAT
@@ -231,6 +231,10 @@ h5diff%2 ..\..\testfiles\file7.h5 ..\..\testfiles\file8.h5 -v > ..\..\temptest\h
more ..\..\temptest\h5diff_80_error.results >> ..\..\temptest\h5diff_80.results
del ..\..\temptest\h5diff_80_error.results
+h5diff%2 ..\..\testfiles\file1.h5 ..\..\testfiles\file1.h5 > ..\..\temptest\h5diff_90.results 2>..\..\temptest\h5diff_90_error.results
+more ..\..\temptest\h5diff_90_error.results >> ..\..\temptest\h5diff_90.results
+del ..\..\temptest\h5diff_90_error.results
+
cd ..\..\temptest
mkdir fctemp
@@ -1126,9 +1130,27 @@ del temp.txt
cd ..
REM ##############################################################################
+REM ## Same File Comparison
+REM ##############################################################################
+
+call ..\deleteline h5diff_90.results 1
+cd ..\testfiles
+call ..\deleteline h5diff_90.txt 4
+cd ..\temptest\fctemp
+fc h5diff_90.txt h5diff_90.results >temp.txt
+if %ERRORLEVEL%==0 (
+ echo Testing h5diff file1.h5 file1.h5 PASSED >> ..\..\difftest%2_%1.txt
+) else (
+ echo Testing h5diff file1.h5 file1.h5 FAILED >> ..\..\difftest%2_%1.txt
+ more temp.txt >> ..\..\difftest%2_%1.txt
+)
+del temp.txt
+cd ..
+
+REM ##############################################################################
REM ## END
REM ##############################################################################
cd ..
-rmdir /s/q temptest \ No newline at end of file
+rmdir /s/q temptest