From 3289dc5a18474cfe39211cb006d01a84a4f0a27c Mon Sep 17 00:00:00 2001 From: MuQun Yang Date: Wed, 27 Sep 2006 17:20:04 -0500 Subject: [svn-r12691] Fix two minor bugs at batch files that include testing h5jam/h5unjam. MSVS 6.0 C/C++ --- windows/tools/jamtest.bat | 6 ++++++ windows/tools/testhdf5tools.BAT | 7 ++++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/windows/tools/jamtest.bat b/windows/tools/jamtest.bat index 575df2c..fb0fc1e 100644 --- a/windows/tools/jamtest.bat +++ b/windows/tools/jamtest.bat @@ -5,7 +5,13 @@ cd h5jam%2\%1 echo off copy /Y ..\..\testfiles\tall.h5 tall.h5 >temp.txt +copy /Y ..\..\testfiles\twithub.h5 twithub.h5 >temp.txt +copy /Y ..\..\testfiles\twithub513.h5 twithub513.h5 >temp.txt copy /Y ..\..\testfiles\u10.txt u10.txt >temp.txt +copy /Y ..\..\testfiles\u511.txt u511.txt >temp.txt +copy /Y ..\..\testfiles\u512.txt u512.txt >temp.txt +copy /Y ..\..\testfiles\u513.txt u513.txt >temp.txt + h5jam -u u10.txt -i tall.h5 -o ta2.h5 echo h5jam -u u10.txt -i tall.h5 -o ta2.h5 PASSED h5jam -u u511.txt -i tall.h5 -o ta3.h5 diff --git a/windows/tools/testhdf5tools.BAT b/windows/tools/testhdf5tools.BAT index 4356216..962b069 100755 --- a/windows/tools/testhdf5tools.BAT +++ b/windows/tools/testhdf5tools.BAT @@ -47,8 +47,9 @@ call repacktest %1 %2 @more repacktest%2_%1.txt >> toolstest_%1%2.txt @del repacktest%2_%1.txt set p2=%2 -if %2==dll ( +if "%2"=="dll" ( echo "DLL version is not available for h5jam or h5unjam, SKIP the test" -) else ( -call jamtest %1 %2 +) else ( + call jamtest %1 %2 ) + -- cgit v0.12