summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMuQun Yang <ymuqun@hdfgroup.org>2006-09-27 22:20:04 (GMT)
committerMuQun Yang <ymuqun@hdfgroup.org>2006-09-27 22:20:04 (GMT)
commit3289dc5a18474cfe39211cb006d01a84a4f0a27c (patch)
tree58db18e31838065adecfe8b1a1cc0c36a3a80c1a
parent46e41daa62bd3ea5a11193b75f032ac49d18bed3 (diff)
downloadhdf5-3289dc5a18474cfe39211cb006d01a84a4f0a27c.zip
hdf5-3289dc5a18474cfe39211cb006d01a84a4f0a27c.tar.gz
hdf5-3289dc5a18474cfe39211cb006d01a84a4f0a27c.tar.bz2
[svn-r12691] Fix two minor bugs at batch files that include testing h5jam/h5unjam.
MSVS 6.0 C/C++
-rw-r--r--windows/tools/jamtest.bat6
-rwxr-xr-xwindows/tools/testhdf5tools.BAT7
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
)
+