Pillow/depends/install_extra_test_images.sh

20 lines
407 B
Bash
Raw Normal View History

#!/bin/bash
# install extra test images
2018-08-25 06:57:24 +03:00
rm -rf test_images
2017-01-30 09:21:48 +03:00
# Use SVN to just fetch a single Git subdirectory
svn_checkout()
{
if [ ! -z $1 ]; then
echo ""
echo "Retrying svn checkout..."
echo ""
fi
svn checkout https://github.com/python-pillow/pillow-depends/trunk/test_images
}
svn_checkout || svn_checkout retry || svn_checkout retry || svn_checkout retry
cp -r test_images/* ../Tests/images