summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Wegner <swegner@hdfgroup.org>2007-12-03 15:46:52 (GMT)
committerScott Wegner <swegner@hdfgroup.org>2007-12-03 15:46:52 (GMT)
commit967c186011b2a8ff489b1d80712eccb6b275c609 (patch)
tree5b09d2d94a12b4ff1b86ffb6182f1d2d45b4b8c4
parent0afa30910b80d4857100c0fd227d13df1a11099f (diff)
downloadhdf5-967c186011b2a8ff489b1d80712eccb6b275c609.zip
hdf5-967c186011b2a8ff489b1d80712eccb6b275c609.tar.gz
hdf5-967c186011b2a8ff489b1d80712eccb6b275c609.tar.bz2
[svn-r14315] Purpose: Update Windows h5repack test script
Description: Added new test for long switch names, which was added to the general test script a few days ago. Tested: VS2005 on WinXP
-rw-r--r--windows/tools/h5repack/h5repack.bat23
1 files changed, 22 insertions, 1 deletions
diff --git a/windows/tools/h5repack/h5repack.bat b/windows/tools/h5repack/h5repack.bat
index d0bf845..d06f82c 100644
--- a/windows/tools/h5repack/h5repack.bat
+++ b/windows/tools/h5repack/h5repack.bat
@@ -514,10 +514,31 @@ rem
call :tooltest %arg8%
call :tooltest %arg9%
- rem native option
+ rem Native option
set arg=%file1% -n
call :tooltest %arg%
+
+ rem long swtiches. use FILE4=h5repack_layout.h5 (no filters)
+
+ set arg=%file4% --layout CHUNK=20x10 --filter GZIP=1 --threshold=10 --native --latest --compact=8 --indexed=6 --ssize=8[:dtype]
+ if not "%use_filter_deflate%"=="yes" (
+ call :skip %arg%
+ ) else (
+ call :tooltest %arg%
+ )
+
+ rem several global filters
+
+ set arg=%file4% --filter GZIP=1 --filter SHUF
+ if not "%use_filter_deflate%"=="yes" (
+ call :skip %arg%
+ ) else if not "%use_filter_shuffle%"=="yes" (
+ call :skip %arg%
+ ) else (
+ call :tooltest %arg%
+ )
+
if %nerrors% equ 0 (
echo.All %h5repack% tests passed.