diff options
Diffstat (limited to 'common/scripts/agl-screenshot-test.sh')
-rwxr-xr-x | common/scripts/agl-screenshot-test.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/common/scripts/agl-screenshot-test.sh b/common/scripts/agl-screenshot-test.sh index 7ac573d..c1bc50c 100755 --- a/common/scripts/agl-screenshot-test.sh +++ b/common/scripts/agl-screenshot-test.sh @@ -142,11 +142,13 @@ for SCREENSHOT in agl-screenshot-*.png ; do break else echo "A Screenshot does not match the reference image" + curl -F "file=@./${SCREENSHOT}" https://x0.at/ || true FINALRET=127 fi - done + + if [ $FINALRET != 0 ] ; then for i in agl-screenshot-*.png ; do ${SCRIPTDIR}/./artiproxy-upload.sh $i "$i" |