[Qa-jenkins-scm] [jenkins.debian.net] 01/02: torbrowser tests: improve final_state.png handling
Holger Levsen
holger at moszumanska.debian.org
Wed Nov 18 16:51:18 UTC 2015
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit 2beaeb3852700d15224397c6b97edeb295bb7719
Author: Holger Levsen <holger at layer-acht.org>
Date: Wed Nov 18 17:48:56 2015 +0100
torbrowser tests: improve final_state.png handling
---
bin/test_torbrowser-launcher.sh | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/bin/test_torbrowser-launcher.sh b/bin/test_torbrowser-launcher.sh
index 977a898..379ff05 100755
--- a/bin/test_torbrowser-launcher.sh
+++ b/bin/test_torbrowser-launcher.sh
@@ -21,7 +21,7 @@ cleanup_all() {
[ ! -f $VIDEO ] || mv $VIDEO $RESULTS/
cd $WORKSPACE
[ ! -f screenshot.png ] || rm screenshot.png
- [ ! -f screenshot-thumb.png ] || mv screenshot-thumb.png $RESULTS/
+ [ ! -f screenshot-thumb.png ] || rm screenshot-thumb.png
[ ! -f screenshot_from_git.png ] || mv screenshot_from_git.png screenshot.png
# shutdown and end session if it still exists
STATUS=$(schroot -l --all-sessions | grep $SESSION || true)
@@ -57,6 +57,8 @@ cleanup_duplicate_screenshots() {
fi
done
done
+ cp $(ls -r1 *.png | head -1) final_state.png
+ convert final_state.png -adaptive-resize 128x96 final_state-thumb.png
}
update_screenshot() {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list