summaryrefslogtreecommitdiffstats
path: root/tools/h5repack
diff options
context:
space:
mode:
Diffstat (limited to 'tools/h5repack')
-rwxr-xr-xtools/h5repack/h5repack.sh.in12
-rw-r--r--tools/h5repack/testfiles/h5repack.info1
-rw-r--r--tools/h5repack/testfiles/h5repack_attr.h5bin0 -> 20056 bytes
-rw-r--r--tools/h5repack/testfiles/h5repack_deflate.h5bin0 -> 5962 bytes
-rw-r--r--tools/h5repack/testfiles/h5repack_early.h5bin0 -> 2067224 bytes
-rw-r--r--tools/h5repack/testfiles/h5repack_ext.binbin0 -> 8 bytes
-rw-r--r--tools/h5repack/testfiles/h5repack_ext.h5bin0 -> 1464 bytes
-rw-r--r--tools/h5repack/testfiles/h5repack_fill.h5bin0 -> 2072 bytes
-rw-r--r--tools/h5repack/testfiles/h5repack_filters.h5bin0 -> 29744 bytes
-rw-r--r--tools/h5repack/testfiles/h5repack_fletcher.h5bin0 -> 7880 bytes
-rw-r--r--tools/h5repack/testfiles/h5repack_hlink.h5bin0 -> 6576 bytes
-rw-r--r--tools/h5repack/testfiles/h5repack_layout.h5bin0 -> 29384 bytes
-rw-r--r--tools/h5repack/testfiles/h5repack_nbit.h5bin0 -> 13776 bytes
-rw-r--r--tools/h5repack/testfiles/h5repack_objs.h5bin0 -> 19589 bytes
-rw-r--r--tools/h5repack/testfiles/h5repack_shuffle.h5bin0 -> 7864 bytes
-rw-r--r--tools/h5repack/testfiles/h5repack_soffset.h5bin0 -> 11052 bytes
-rw-r--r--tools/h5repack/testfiles/h5repack_szip.h5bin0 -> 5588 bytes
-rw-r--r--tools/h5repack/testfiles/ublock.bin1
18 files changed, 8 insertions, 6 deletions
diff --git a/tools/h5repack/h5repack.sh.in b/tools/h5repack/h5repack.sh.in
index d5bb5c1..72e4414 100755
--- a/tools/h5repack/h5repack.sh.in
+++ b/tools/h5repack/h5repack.sh.in
@@ -33,10 +33,10 @@ H5REPACK_BIN=`pwd`/$H5REPACK # The path of the tool binary
H5DIFF=../h5diff/h5diff # The h5diff tool name
H5DIFF_BIN=`pwd`/$H5DIFF # The path of the h5diff tool binary
-H5DETECTSZIP=testh5repack_detect_szip # The tool name
-H5DETECTSZIP_BIN=`pwd`/$H5DETECTSZIP # The path of the tool binary
+H5DETECTSZIP=testh5repack_detect_szip
+H5DETECTSZIP_BIN=`pwd`/$H5DETECTSZIP
-INFO_FILE=../testfiles/info.h5repack
+INFO_FILE=testfiles/h5repack.info
FILE0=h5repack_fill.h5
FILE1=h5repack_objs.h5
@@ -62,7 +62,7 @@ if test -z "$srcdir"; then
srcdir=.
fi
-test -d ../testfiles || mkdir ../testfiles
+
# Print a line-line message left justified in a field of 70 characters
# beginning with the word "Testing".
@@ -116,7 +116,7 @@ TOOLTEST()
# case of missing file name). Changed it to use $@ till Tflops fixes it.
TESTING $H5REPACK $@
- infile=$srcdir/../testfiles/$1
+ infile=$srcdir/testfiles/$1
path=`pwd`
outfile=$path/out.$1
shift
@@ -144,7 +144,7 @@ TOOLTEST0()
# case of missing file name). Changed it to use $@ till Tflops fixes it.
TESTING $H5REPACK $@
- infile=$srcdir/../testfiles/$1
+ infile=$srcdir/testfiles/$1
path=`pwd`
outfile=$path/out.$1
shift
diff --git a/tools/h5repack/testfiles/h5repack.info b/tools/h5repack/testfiles/h5repack.info
new file mode 100644
index 0000000..216948d
--- /dev/null
+++ b/tools/h5repack/testfiles/h5repack.info
@@ -0,0 +1 @@
+-l dset1:CHUNK=20x20 -f dset1,dset2:GZIP=1
diff --git a/tools/h5repack/testfiles/h5repack_attr.h5 b/tools/h5repack/testfiles/h5repack_attr.h5
new file mode 100644
index 0000000..fe066db
--- /dev/null
+++ b/tools/h5repack/testfiles/h5repack_attr.h5
Binary files differ
diff --git a/tools/h5repack/testfiles/h5repack_deflate.h5 b/tools/h5repack/testfiles/h5repack_deflate.h5
new file mode 100644
index 0000000..3a4b86d
--- /dev/null
+++ b/tools/h5repack/testfiles/h5repack_deflate.h5
Binary files differ
diff --git a/tools/h5repack/testfiles/h5repack_early.h5 b/tools/h5repack/testfiles/h5repack_early.h5
new file mode 100644
index 0000000..9b92890
--- /dev/null
+++ b/tools/h5repack/testfiles/h5repack_early.h5
Binary files differ
diff --git a/tools/h5repack/testfiles/h5repack_ext.bin b/tools/h5repack/testfiles/h5repack_ext.bin
new file mode 100644
index 0000000..f858094
--- /dev/null
+++ b/tools/h5repack/testfiles/h5repack_ext.bin
Binary files differ
diff --git a/tools/h5repack/testfiles/h5repack_ext.h5 b/tools/h5repack/testfiles/h5repack_ext.h5
new file mode 100644
index 0000000..1fe88c9
--- /dev/null
+++ b/tools/h5repack/testfiles/h5repack_ext.h5
Binary files differ
diff --git a/tools/h5repack/testfiles/h5repack_fill.h5 b/tools/h5repack/testfiles/h5repack_fill.h5
new file mode 100644
index 0000000..21516cb
--- /dev/null
+++ b/tools/h5repack/testfiles/h5repack_fill.h5
Binary files differ
diff --git a/tools/h5repack/testfiles/h5repack_filters.h5 b/tools/h5repack/testfiles/h5repack_filters.h5
new file mode 100644
index 0000000..042b8db
--- /dev/null
+++ b/tools/h5repack/testfiles/h5repack_filters.h5
Binary files differ
diff --git a/tools/h5repack/testfiles/h5repack_fletcher.h5 b/tools/h5repack/testfiles/h5repack_fletcher.h5
new file mode 100644
index 0000000..2f137b0
--- /dev/null
+++ b/tools/h5repack/testfiles/h5repack_fletcher.h5
Binary files differ
diff --git a/tools/h5repack/testfiles/h5repack_hlink.h5 b/tools/h5repack/testfiles/h5repack_hlink.h5
new file mode 100644
index 0000000..3d22728
--- /dev/null
+++ b/tools/h5repack/testfiles/h5repack_hlink.h5
Binary files differ
diff --git a/tools/h5repack/testfiles/h5repack_layout.h5 b/tools/h5repack/testfiles/h5repack_layout.h5
new file mode 100644
index 0000000..5772a31
--- /dev/null
+++ b/tools/h5repack/testfiles/h5repack_layout.h5
Binary files differ
diff --git a/tools/h5repack/testfiles/h5repack_nbit.h5 b/tools/h5repack/testfiles/h5repack_nbit.h5
new file mode 100644
index 0000000..3ada112
--- /dev/null
+++ b/tools/h5repack/testfiles/h5repack_nbit.h5
Binary files differ
diff --git a/tools/h5repack/testfiles/h5repack_objs.h5 b/tools/h5repack/testfiles/h5repack_objs.h5
new file mode 100644
index 0000000..0a0c041
--- /dev/null
+++ b/tools/h5repack/testfiles/h5repack_objs.h5
Binary files differ
diff --git a/tools/h5repack/testfiles/h5repack_shuffle.h5 b/tools/h5repack/testfiles/h5repack_shuffle.h5
new file mode 100644
index 0000000..d13cca7
--- /dev/null
+++ b/tools/h5repack/testfiles/h5repack_shuffle.h5
Binary files differ
diff --git a/tools/h5repack/testfiles/h5repack_soffset.h5 b/tools/h5repack/testfiles/h5repack_soffset.h5
new file mode 100644
index 0000000..89ee99a
--- /dev/null
+++ b/tools/h5repack/testfiles/h5repack_soffset.h5
Binary files differ
diff --git a/tools/h5repack/testfiles/h5repack_szip.h5 b/tools/h5repack/testfiles/h5repack_szip.h5
new file mode 100644
index 0000000..b16d169
--- /dev/null
+++ b/tools/h5repack/testfiles/h5repack_szip.h5
Binary files differ
diff --git a/tools/h5repack/testfiles/ublock.bin b/tools/h5repack/testfiles/ublock.bin
new file mode 100644
index 0000000..b2d03f3
--- /dev/null
+++ b/tools/h5repack/testfiles/ublock.bin
@@ -0,0 +1 @@
+abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrst \ No newline at end of file