diff options
author | Fang Guo <fangguo@ncsa.uiuc.edu> | 2005-07-12 22:28:15 (GMT) |
---|---|---|
committer | Fang Guo <fangguo@ncsa.uiuc.edu> | 2005-07-12 22:28:15 (GMT) |
commit | effd73de4108ca45d1ce7c74b01a1d12b7f9a336 (patch) | |
tree | cd1189d9af00c1da7989a7bfb12f7bc19fb4e55d /windows | |
parent | 5edb327cbfff97e5d2be9b01d037f938b57f073d (diff) | |
download | hdf5-effd73de4108ca45d1ce7c74b01a1d12b7f9a336.zip hdf5-effd73de4108ca45d1ce7c74b01a1d12b7f9a336.tar.gz hdf5-effd73de4108ca45d1ce7c74b01a1d12b7f9a336.tar.bz2 |
[svn-r11068] Purpose:
Maintenance for windows
Description:
Fix h5repack test problems with test1.h5 and test2.h5
Solution:
Platforms tested:
Misc. update:
Diffstat (limited to 'windows')
-rwxr-xr-x | windows/tools/repacktest.BAT | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/windows/tools/repacktest.BAT b/windows/tools/repacktest.BAT index b3252ea..aa7f16b 100755 --- a/windows/tools/repacktest.BAT +++ b/windows/tools/repacktest.BAT @@ -19,6 +19,10 @@ REM testfiles\h5repacktst\%1\h5repacktst mkdir temptest type nul > temptest\empty.txt +type nul > temptest\notcomparable.txt +echo Some objects are not comparable>> temptest\notcomparable.txt +echo Use -v for a list of objects.>> temptest\notcomparable.txt + type nul > repacktest%2_%1.txt echo ========================================== >> repacktest%2_%1.txt echo Testing repacktest.bat >> repacktest%2_%1.txt @@ -56,7 +60,7 @@ REM TOOLTEST test1.h5 h5repack%2 -i ..\..\testfiles\test1.h5 -o ..\..\temptest\out.test1.h5 ..\..\h5diff%2\%1\h5diff%2 ..\..\testfiles\test1.h5 ..\..\temptest\out.test1.h5 > ..\..\temptest\test1.results 2>..\..\temptest\test1_error.results more ..\..\temptest\test1_error.results >> ..\..\temptest\test1.results -fc ..\..\temptest\test1.results ..\..\temptest\empty.txt >temp.txt +fc ..\..\temptest\test1.results ..\..\temptest\notcomparable.txt >temp.txt if %ERRORLEVEL%==0 ( echo Testing h5repack test1.h5 PASSED >> ..\..\repacktest%2_%1.txt ) else ( @@ -68,6 +72,22 @@ del ..\..\temptest\out.test1.h5 del ..\..\temptest\test1.results del ..\..\temptest\test1_error.results +REM TOOLTEST test2.h5 +h5repack%2 -i ..\..\testfiles\test2.h5 -o ..\..\temptest\out.test2.h5 +..\..\h5diff%2\%1\h5diff%2 ..\..\testfiles\test2.h5 ..\..\temptest\out.test2.h5 > ..\..\temptest\test2.results 2>..\..\temptest\test2_error.results +more ..\..\temptest\test2_error.results >> ..\..\temptest\test2.results +fc ..\..\temptest\test2.results ..\..\temptest\notcomparable.txt >temp.txt +if %ERRORLEVEL%==0 ( + echo Testing h5repack test2.h5 PASSED >> ..\..\repacktest%2_%1.txt +) else ( + echo Testing h5repack test2.h5 FAILED >> ..\..\repacktest%2_%1.txt + more temp.txt >> ..\..\repacktest%2_%1.txt +) +del temp.txt +del ..\..\temptest\out.test2.h5 +del ..\..\temptest\test2.results +del ..\..\temptest\test2_error.results + REM TOOLTEST test3.h5 h5repack%2 -i ..\..\testfiles\test3.h5 -o ..\..\temptest\out.test3.h5 ..\..\h5diff%2\%1\h5diff%2 ..\..\testfiles\test3.h5 ..\..\temptest\out.test3.h5 > ..\..\temptest\test3.results 2>..\..\temptest\test3_error.results |