add a test with VIPS_STALL
stresses the caching and locality systems
This commit is contained in:
parent
c0c07ea003
commit
6b02c22457
@ -5,6 +5,7 @@ TESTS = \
|
|||||||
test_cli.sh \
|
test_cli.sh \
|
||||||
test_formats.sh \
|
test_formats.sh \
|
||||||
test_seq.sh \
|
test_seq.sh \
|
||||||
|
test_stall.sh \
|
||||||
test_threading.sh
|
test_threading.sh
|
||||||
|
|
||||||
SUBDIRS = \
|
SUBDIRS = \
|
||||||
@ -32,6 +33,7 @@ EXTRA_DIST = \
|
|||||||
test_formats.sh \
|
test_formats.sh \
|
||||||
test_seq.sh \
|
test_seq.sh \
|
||||||
test_thumbnail.sh \
|
test_thumbnail.sh \
|
||||||
|
test_stall.sh \
|
||||||
test_threading.sh
|
test_threading.sh
|
||||||
|
|
||||||
clean-local:
|
clean-local:
|
||||||
|
17
test/test_stall.sh
Executable file
17
test/test_stall.sh
Executable file
@ -0,0 +1,17 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# set -x
|
||||||
|
set -e
|
||||||
|
|
||||||
|
. ./variables.sh
|
||||||
|
|
||||||
|
if test_supported tiffload; then
|
||||||
|
VIPS_STALL=1 vips copy $image $tmp/x.tif
|
||||||
|
cat > $tmp/mask.con <<EOF
|
||||||
|
3 3 8 0
|
||||||
|
-1 -1 -1
|
||||||
|
-1 16 -1
|
||||||
|
-1 -1 -1
|
||||||
|
EOF
|
||||||
|
VIPS_STALL=1 vips conv $tmp/x.tif $tmp/x2.tif $tmp/mask.con
|
||||||
|
fi
|
Loading…
Reference in New Issue
Block a user