From cef7b9f008467d0fc76bad4dbbe901a3ddf7f6d5 Mon Sep 17 00:00:00 2001 From: Fang Guo Date: Wed, 26 Oct 2005 17:10:48 -0500 Subject: [svn-r11611] Purpose: Maintenance on Windows Description: Add new h5diff test into batch file difftest.bat Solution: Platforms tested: Windows XP Misc. update: --- windows/tools/difftest.BAT | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) 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 -- cgit v0.12