summaryrefslogtreecommitdiffstats
path: root/windows
diff options
context:
space:
mode:
Diffstat (limited to 'windows')
-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.