mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-07-10 16:22:22 +03:00
Merge pull request #4175 from radarhere/export
Simplified install extra test images script
This commit is contained in:
commit
9e461aff08
|
@ -1,19 +1,15 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# install extra test images
|
# install extra test images
|
||||||
|
|
||||||
rm -rf test_images
|
|
||||||
|
|
||||||
# Use SVN to just fetch a single Git subdirectory
|
# Use SVN to just fetch a single Git subdirectory
|
||||||
svn_checkout()
|
svn_export()
|
||||||
{
|
{
|
||||||
if [ ! -z $1 ]; then
|
if [ ! -z $1 ]; then
|
||||||
echo ""
|
echo ""
|
||||||
echo "Retrying svn checkout..."
|
echo "Retrying svn export..."
|
||||||
echo ""
|
echo ""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
svn checkout https://github.com/python-pillow/pillow-depends/trunk/test_images
|
svn export --force https://github.com/python-pillow/pillow-depends/trunk/test_images ../Tests/images
|
||||||
}
|
}
|
||||||
svn_checkout || svn_checkout retry || svn_checkout retry || svn_checkout retry
|
svn_export || svn_export retry || svn_export retry || svn_export retry
|
||||||
|
|
||||||
cp -r test_images/* ../Tests/images
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user