From 4c502fcbf340054e44013931b1f063af37645919 Mon Sep 17 00:00:00 2001 From: John Cupitt Date: Sun, 23 Apr 2017 09:43:01 +0100 Subject: [PATCH] add more seq tests --- test/test_python.sh | 4 ++++ test/test_thumbnail.sh | 3 +++ 2 files changed, 7 insertions(+) diff --git a/test/test_python.sh b/test/test_python.sh index e361d4f2..8d996d59 100755 --- a/test/test_python.sh +++ b/test/test_python.sh @@ -25,3 +25,7 @@ Darwin) esac $PYTHON -m unittest -v test_all + +echo rerunning with VIPS_STALL enabled ... +export VIPS_STALL=1 +$PYTHON -m unittest -v test_all diff --git a/test/test_thumbnail.sh b/test/test_thumbnail.sh index 73912e8c..28927677 100755 --- a/test/test_thumbnail.sh +++ b/test/test_thumbnail.sh @@ -24,6 +24,9 @@ break_threshold() { return $(echo "$diff > $threshold" | bc -l) } +# run the test with VIPS_STALL enabled to stress the seq system +export VIPS_STALL=1 + size=1000 while [ $size -gt 99 ]; do printf "testing size to $size ... "