mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-02-17 16:10:24 +08:00
[svn-r11611] Purpose:
Maintenance on Windows Description: Add new h5diff test into batch file difftest.bat Solution: Platforms tested: Windows XP Misc. update:
This commit is contained in:
parent
9171536823
commit
cef7b9f008
@ -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
|
||||
|
||||
@ -1125,10 +1129,28 @@ if %ERRORLEVEL%==0 (
|
||||
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
|
||||
rmdir /s/q temptest
|
||||
|
Loading…
Reference in New Issue
Block a user