summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2019-11-11 23:01:03 +0100
committerEven Rouault <even.rouault@spatialys.com>2019-11-11 23:01:03 +0100
commitf417f056c5274c96b4176d5fbeede2cf2e2f699e (patch)
tree124d3b77dcf01ba8338afa2e13c4c904d39e4dfb
parentd0a8a3262cb9c0384e7ee77d7baf4eeb9d95db34 (diff)
downloadlibtiff-git-f417f056c5274c96b4176d5fbeede2cf2e2f699e.tar.gz
test/: add missing generated .sh files
-rwxr-xr-xtest/ppm2tiff_pbm.sh1
-rwxr-xr-xtest/ppm2tiff_pgm.sh1
-rwxr-xr-xtest/ppm2tiff_ppm.sh1
-rwxr-xr-xtest/tiff2bw-logluv-3c-16b.sh7
-rwxr-xr-xtest/tiff2bw-lzw-single-strip.sh7
-rwxr-xr-xtest/tiff2bw-minisblack-1c-16b.sh7
-rwxr-xr-xtest/tiff2bw-minisblack-1c-8b.sh7
-rwxr-xr-xtest/tiff2bw-minisblack-2c-8b-alpha.sh7
-rwxr-xr-xtest/tiff2bw-miniswhite-1c-1b.sh7
-rwxr-xr-xtest/tiff2bw-palette-1c-1b.sh7
-rwxr-xr-xtest/tiff2bw-palette-1c-4b.sh7
-rwxr-xr-xtest/tiff2bw-quad-tile.jpg.sh7
-rwxr-xr-xtest/tiff2bw-quad-tile.jpg.t1iff.sh7
-rwxr-xr-xtest/tiff2bw-rgb-3c-16b.sh7
-rwxr-xr-xtest/tiff2rgba-lzw-single-strip.sh7
-rwxr-xr-xtest/tiff2rgba-quad-lzw-compat.sh7
-rwxr-xr-xtest/tiff2rgba-quad-tile.jpg.t1iff.sh7
-rwxr-xr-xtest/tiffcrop-R90-lzw-single-strip.sh7
-rwxr-xr-xtest/tiffcrop-R90-quad-lzw-compat.sh7
-rwxr-xr-xtest/tiffcrop-R90-quad-tile.jpg.t1iff.sh7
-rwxr-xr-xtest/tiffcrop-doubleflip-lzw-single-strip.sh7
-rwxr-xr-xtest/tiffcrop-doubleflip-quad-lzw-compat.sh7
-rwxr-xr-xtest/tiffcrop-doubleflip-quad-tile.jpg.t1iff.sh7
-rwxr-xr-xtest/tiffcrop-extract-lzw-single-strip.sh7
-rwxr-xr-xtest/tiffcrop-extract-quad-lzw-compat.sh7
-rwxr-xr-xtest/tiffcrop-extract-quad-tile.jpg.t1iff.sh7
-rwxr-xr-xtest/tiffcrop-extractz14-lzw-single-strip.sh7
-rwxr-xr-xtest/tiffcrop-extractz14-quad-lzw-compat.sh7
-rwxr-xr-xtest/tiffcrop-extractz14-quad-tile.jpg.t1iff.sh7
29 files changed, 182 insertions, 3 deletions
diff --git a/test/ppm2tiff_pbm.sh b/test/ppm2tiff_pbm.sh
index 68d9e459..fb6c3cf7 100755
--- a/test/ppm2tiff_pbm.sh
+++ b/test/ppm2tiff_pbm.sh
@@ -1,5 +1,4 @@
#!/bin/sh
-# Generated file, master is Makefile.am
. ${srcdir:-.}/common.sh
infile="$IMG_MINISWHITE_1C_1B_PBM"
outfile="o-ppm2tiff_pbm.tiff"
diff --git a/test/ppm2tiff_pgm.sh b/test/ppm2tiff_pgm.sh
index 001ec706..60352348 100755
--- a/test/ppm2tiff_pgm.sh
+++ b/test/ppm2tiff_pgm.sh
@@ -1,5 +1,4 @@
#!/bin/sh
-# Generated file, master is Makefile.am
. ${srcdir:-.}/common.sh
infile="$IMG_MINISBLACK_1C_8B_PGM"
outfile="o-ppm2tiff_pgm.tiff"
diff --git a/test/ppm2tiff_ppm.sh b/test/ppm2tiff_ppm.sh
index 8a81527b..e213a71d 100755
--- a/test/ppm2tiff_ppm.sh
+++ b/test/ppm2tiff_ppm.sh
@@ -1,5 +1,4 @@
#!/bin/sh
-# Generated file, master is Makefile.am
. ${srcdir:-.}/common.sh
infile="$IMG_RGB_3C_8B_PPM"
outfile="o-ppm2tiff_ppm.tiff"
diff --git a/test/tiff2bw-logluv-3c-16b.sh b/test/tiff2bw-logluv-3c-16b.sh
new file mode 100755
index 00000000..9a64a1af
--- /dev/null
+++ b/test/tiff2bw-logluv-3c-16b.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+# Generated file, master is Makefile.am
+. ${srcdir:-.}/common.sh
+infile="$srcdir/images/logluv-3c-16b.tiff"
+outfile="o-tiff2bw-logluv-3c-16b.tiff"
+f_test_convert "$TIFF2BW" $infile $outfile
+f_tiffinfo_validate $outfile
diff --git a/test/tiff2bw-lzw-single-strip.sh b/test/tiff2bw-lzw-single-strip.sh
new file mode 100755
index 00000000..def92097
--- /dev/null
+++ b/test/tiff2bw-lzw-single-strip.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+# Generated file, master is Makefile.am
+. ${srcdir:-.}/common.sh
+infile="$srcdir/images/lzw-single-strip.tiff"
+outfile="o-tiff2bw-lzw-single-strip.tiff"
+f_test_convert "$TIFF2BW" $infile $outfile
+f_tiffinfo_validate $outfile
diff --git a/test/tiff2bw-minisblack-1c-16b.sh b/test/tiff2bw-minisblack-1c-16b.sh
new file mode 100755
index 00000000..d0dee2c8
--- /dev/null
+++ b/test/tiff2bw-minisblack-1c-16b.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+# Generated file, master is Makefile.am
+. ${srcdir:-.}/common.sh
+infile="$srcdir/images/minisblack-1c-16b.tiff"
+outfile="o-tiff2bw-minisblack-1c-16b.tiff"
+f_test_convert "$TIFF2BW" $infile $outfile
+f_tiffinfo_validate $outfile
diff --git a/test/tiff2bw-minisblack-1c-8b.sh b/test/tiff2bw-minisblack-1c-8b.sh
new file mode 100755
index 00000000..c3437b95
--- /dev/null
+++ b/test/tiff2bw-minisblack-1c-8b.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+# Generated file, master is Makefile.am
+. ${srcdir:-.}/common.sh
+infile="$srcdir/images/minisblack-1c-8b.tiff"
+outfile="o-tiff2bw-minisblack-1c-8b.tiff"
+f_test_convert "$TIFF2BW" $infile $outfile
+f_tiffinfo_validate $outfile
diff --git a/test/tiff2bw-minisblack-2c-8b-alpha.sh b/test/tiff2bw-minisblack-2c-8b-alpha.sh
new file mode 100755
index 00000000..81f7b6d6
--- /dev/null
+++ b/test/tiff2bw-minisblack-2c-8b-alpha.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+# Generated file, master is Makefile.am
+. ${srcdir:-.}/common.sh
+infile="$srcdir/images/minisblack-2c-8b-alpha.tiff"
+outfile="o-tiff2bw-minisblack-2c-8b-alpha.tiff"
+f_test_convert "$TIFF2BW" $infile $outfile
+f_tiffinfo_validate $outfile
diff --git a/test/tiff2bw-miniswhite-1c-1b.sh b/test/tiff2bw-miniswhite-1c-1b.sh
new file mode 100755
index 00000000..e3043c1f
--- /dev/null
+++ b/test/tiff2bw-miniswhite-1c-1b.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+# Generated file, master is Makefile.am
+. ${srcdir:-.}/common.sh
+infile="$srcdir/images/miniswhite-1c-1b.tiff"
+outfile="o-tiff2bw-miniswhite-1c-1b.tiff"
+f_test_convert "$TIFF2BW" $infile $outfile
+f_tiffinfo_validate $outfile
diff --git a/test/tiff2bw-palette-1c-1b.sh b/test/tiff2bw-palette-1c-1b.sh
new file mode 100755
index 00000000..3862614e
--- /dev/null
+++ b/test/tiff2bw-palette-1c-1b.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+# Generated file, master is Makefile.am
+. ${srcdir:-.}/common.sh
+infile="$srcdir/images/palette-1c-1b.tiff"
+outfile="o-tiff2bw-palette-1c-1b.tiff"
+f_test_convert "$TIFF2BW" $infile $outfile
+f_tiffinfo_validate $outfile
diff --git a/test/tiff2bw-palette-1c-4b.sh b/test/tiff2bw-palette-1c-4b.sh
new file mode 100755
index 00000000..21d8e90d
--- /dev/null
+++ b/test/tiff2bw-palette-1c-4b.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+# Generated file, master is Makefile.am
+. ${srcdir:-.}/common.sh
+infile="$srcdir/images/palette-1c-4b.tiff"
+outfile="o-tiff2bw-palette-1c-4b.tiff"
+f_test_convert "$TIFF2BW" $infile $outfile
+f_tiffinfo_validate $outfile
diff --git a/test/tiff2bw-quad-tile.jpg.sh b/test/tiff2bw-quad-tile.jpg.sh
new file mode 100755
index 00000000..29c2f40a
--- /dev/null
+++ b/test/tiff2bw-quad-tile.jpg.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+# Generated file, master is Makefile.am
+. ${srcdir:-.}/common.sh
+infile="$srcdir/images/quad-tile.jpg.tiff"
+outfile="o-tiff2bw-quad-tile.jpg.tiff"
+f_test_convert "$TIFF2BW" $infile $outfile
+f_tiffinfo_validate $outfile
diff --git a/test/tiff2bw-quad-tile.jpg.t1iff.sh b/test/tiff2bw-quad-tile.jpg.t1iff.sh
new file mode 100755
index 00000000..1c507b37
--- /dev/null
+++ b/test/tiff2bw-quad-tile.jpg.t1iff.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+# Generated file, master is Makefile.am
+. ${srcdir:-.}/common.sh
+infile="$srcdir/images/quad-tile.jpg.t1iff"
+outfile="o-tiff2bw-quad-tile.jpg.t1iff.tiff"
+f_test_convert "$TIFF2BW" $infile $outfile
+f_tiffinfo_validate $outfile
diff --git a/test/tiff2bw-rgb-3c-16b.sh b/test/tiff2bw-rgb-3c-16b.sh
new file mode 100755
index 00000000..0ba9efb1
--- /dev/null
+++ b/test/tiff2bw-rgb-3c-16b.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+# Generated file, master is Makefile.am
+. ${srcdir:-.}/common.sh
+infile="$srcdir/images/rgb-3c-16b.tiff"
+outfile="o-tiff2bw-rgb-3c-16b.tiff"
+f_test_convert "$TIFF2BW" $infile $outfile
+f_tiffinfo_validate $outfile
diff --git a/test/tiff2rgba-lzw-single-strip.sh b/test/tiff2rgba-lzw-single-strip.sh
new file mode 100755
index 00000000..184a28d5
--- /dev/null
+++ b/test/tiff2rgba-lzw-single-strip.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+# Generated file, master is Makefile.am
+. ${srcdir:-.}/common.sh
+infile="$srcdir/images/lzw-single-strip.tiff"
+outfile="o-tiff2rgba-lzw-single-strip.tiff"
+f_test_convert "$TIFF2RGBA" $infile $outfile
+f_tiffinfo_validate $outfile
diff --git a/test/tiff2rgba-quad-lzw-compat.sh b/test/tiff2rgba-quad-lzw-compat.sh
new file mode 100755
index 00000000..5ad808a5
--- /dev/null
+++ b/test/tiff2rgba-quad-lzw-compat.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+# Generated file, master is Makefile.am
+. ${srcdir:-.}/common.sh
+infile="$srcdir/images/quad-lzw-compat.tiff"
+outfile="o-tiff2rgba-quad-lzw-compat.tiff"
+f_test_convert "$TIFF2RGBA" $infile $outfile
+f_tiffinfo_validate $outfile
diff --git a/test/tiff2rgba-quad-tile.jpg.t1iff.sh b/test/tiff2rgba-quad-tile.jpg.t1iff.sh
new file mode 100755
index 00000000..9d553df6
--- /dev/null
+++ b/test/tiff2rgba-quad-tile.jpg.t1iff.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+# Generated file, master is Makefile.am
+. ${srcdir:-.}/common.sh
+infile="$srcdir/images/quad-tile.jpg.t1iff"
+outfile="o-tiff2rgba-quad-tile.jpg.t1iff.tiff"
+f_test_convert "$TIFF2RGBA" $infile $outfile
+f_tiffinfo_validate $outfile
diff --git a/test/tiffcrop-R90-lzw-single-strip.sh b/test/tiffcrop-R90-lzw-single-strip.sh
new file mode 100755
index 00000000..7b4fdbf9
--- /dev/null
+++ b/test/tiffcrop-R90-lzw-single-strip.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+# Generated file, master is Makefile.am
+. ${srcdir:-.}/common.sh
+infile="$srcdir/images/lzw-single-strip.tiff"
+outfile="o-tiffcrop-R90-lzw-single-strip.tiff"
+f_test_convert "$TIFFCROP -R90" $infile $outfile
+f_tiffinfo_validate $outfile
diff --git a/test/tiffcrop-R90-quad-lzw-compat.sh b/test/tiffcrop-R90-quad-lzw-compat.sh
new file mode 100755
index 00000000..1a40412e
--- /dev/null
+++ b/test/tiffcrop-R90-quad-lzw-compat.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+# Generated file, master is Makefile.am
+. ${srcdir:-.}/common.sh
+infile="$srcdir/images/quad-lzw-compat.tiff"
+outfile="o-tiffcrop-R90-quad-lzw-compat.tiff"
+f_test_convert "$TIFFCROP -R90" $infile $outfile
+f_tiffinfo_validate $outfile
diff --git a/test/tiffcrop-R90-quad-tile.jpg.t1iff.sh b/test/tiffcrop-R90-quad-tile.jpg.t1iff.sh
new file mode 100755
index 00000000..0d2bf973
--- /dev/null
+++ b/test/tiffcrop-R90-quad-tile.jpg.t1iff.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+# Generated file, master is Makefile.am
+. ${srcdir:-.}/common.sh
+infile="$srcdir/images/quad-tile.jpg.t1iff"
+outfile="o-tiffcrop-R90-quad-tile.jpg.t1iff.tiff"
+f_test_convert "$TIFFCROP -R90" $infile $outfile
+f_tiffinfo_validate $outfile
diff --git a/test/tiffcrop-doubleflip-lzw-single-strip.sh b/test/tiffcrop-doubleflip-lzw-single-strip.sh
new file mode 100755
index 00000000..15351247
--- /dev/null
+++ b/test/tiffcrop-doubleflip-lzw-single-strip.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+# Generated file, master is Makefile.am
+. ${srcdir:-.}/common.sh
+infile="$srcdir/images/lzw-single-strip.tiff"
+outfile="o-tiffcrop-doubleflip-lzw-single-strip.tiff"
+f_test_convert "$TIFFCROP -F both" $infile $outfile
+f_tiffinfo_validate $outfile
diff --git a/test/tiffcrop-doubleflip-quad-lzw-compat.sh b/test/tiffcrop-doubleflip-quad-lzw-compat.sh
new file mode 100755
index 00000000..5c482a5d
--- /dev/null
+++ b/test/tiffcrop-doubleflip-quad-lzw-compat.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+# Generated file, master is Makefile.am
+. ${srcdir:-.}/common.sh
+infile="$srcdir/images/quad-lzw-compat.tiff"
+outfile="o-tiffcrop-doubleflip-quad-lzw-compat.tiff"
+f_test_convert "$TIFFCROP -F both" $infile $outfile
+f_tiffinfo_validate $outfile
diff --git a/test/tiffcrop-doubleflip-quad-tile.jpg.t1iff.sh b/test/tiffcrop-doubleflip-quad-tile.jpg.t1iff.sh
new file mode 100755
index 00000000..2e097126
--- /dev/null
+++ b/test/tiffcrop-doubleflip-quad-tile.jpg.t1iff.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+# Generated file, master is Makefile.am
+. ${srcdir:-.}/common.sh
+infile="$srcdir/images/quad-tile.jpg.t1iff"
+outfile="o-tiffcrop-doubleflip-quad-tile.jpg.t1iff.tiff"
+f_test_convert "$TIFFCROP -F both" $infile $outfile
+f_tiffinfo_validate $outfile
diff --git a/test/tiffcrop-extract-lzw-single-strip.sh b/test/tiffcrop-extract-lzw-single-strip.sh
new file mode 100755
index 00000000..58041a23
--- /dev/null
+++ b/test/tiffcrop-extract-lzw-single-strip.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+# Generated file, master is Makefile.am
+. ${srcdir:-.}/common.sh
+infile="$srcdir/images/lzw-single-strip.tiff"
+outfile="o-tiffcrop-extract-lzw-single-strip.tiff"
+f_test_convert "$TIFFCROP -U px -E top -X 60 -Y 60" $infile $outfile
+f_tiffinfo_validate $outfile
diff --git a/test/tiffcrop-extract-quad-lzw-compat.sh b/test/tiffcrop-extract-quad-lzw-compat.sh
new file mode 100755
index 00000000..bade2456
--- /dev/null
+++ b/test/tiffcrop-extract-quad-lzw-compat.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+# Generated file, master is Makefile.am
+. ${srcdir:-.}/common.sh
+infile="$srcdir/images/quad-lzw-compat.tiff"
+outfile="o-tiffcrop-extract-quad-lzw-compat.tiff"
+f_test_convert "$TIFFCROP -U px -E top -X 60 -Y 60" $infile $outfile
+f_tiffinfo_validate $outfile
diff --git a/test/tiffcrop-extract-quad-tile.jpg.t1iff.sh b/test/tiffcrop-extract-quad-tile.jpg.t1iff.sh
new file mode 100755
index 00000000..11834416
--- /dev/null
+++ b/test/tiffcrop-extract-quad-tile.jpg.t1iff.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+# Generated file, master is Makefile.am
+. ${srcdir:-.}/common.sh
+infile="$srcdir/images/quad-tile.jpg.t1iff"
+outfile="o-tiffcrop-extract-quad-tile.jpg.t1iff.tiff"
+f_test_convert "$TIFFCROP -U px -E top -X 60 -Y 60" $infile $outfile
+f_tiffinfo_validate $outfile
diff --git a/test/tiffcrop-extractz14-lzw-single-strip.sh b/test/tiffcrop-extractz14-lzw-single-strip.sh
new file mode 100755
index 00000000..022ab76f
--- /dev/null
+++ b/test/tiffcrop-extractz14-lzw-single-strip.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+# Generated file, master is Makefile.am
+. ${srcdir:-.}/common.sh
+infile="$srcdir/images/lzw-single-strip.tiff"
+outfile="o-tiffcrop-extractz14-lzw-single-strip.tiff"
+f_test_convert "$TIFFCROP -E left -Z1:4,2:4" $infile $outfile
+f_tiffinfo_validate $outfile
diff --git a/test/tiffcrop-extractz14-quad-lzw-compat.sh b/test/tiffcrop-extractz14-quad-lzw-compat.sh
new file mode 100755
index 00000000..3fe169c3
--- /dev/null
+++ b/test/tiffcrop-extractz14-quad-lzw-compat.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+# Generated file, master is Makefile.am
+. ${srcdir:-.}/common.sh
+infile="$srcdir/images/quad-lzw-compat.tiff"
+outfile="o-tiffcrop-extractz14-quad-lzw-compat.tiff"
+f_test_convert "$TIFFCROP -E left -Z1:4,2:4" $infile $outfile
+f_tiffinfo_validate $outfile
diff --git a/test/tiffcrop-extractz14-quad-tile.jpg.t1iff.sh b/test/tiffcrop-extractz14-quad-tile.jpg.t1iff.sh
new file mode 100755
index 00000000..5d36e7da
--- /dev/null
+++ b/test/tiffcrop-extractz14-quad-tile.jpg.t1iff.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+# Generated file, master is Makefile.am
+. ${srcdir:-.}/common.sh
+infile="$srcdir/images/quad-tile.jpg.t1iff"
+outfile="o-tiffcrop-extractz14-quad-tile.jpg.t1iff.tiff"
+f_test_convert "$TIFFCROP -E left -Z1:4,2:4" $infile $outfile
+f_tiffinfo_validate $outfile