diff options
author | Holger Levsen <holger@layer-acht.org> | 2014-11-27 00:56:17 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2014-11-27 00:56:17 +0100 |
commit | c3433e511217147a41788cb20d6448c4be99aceb (patch) | |
tree | 21e1e6d66b6dc24a9af361a016abc0bbf541581e /bin | |
parent | 8487ff361b9a7a4103a0a76fd4183bfc5ba91456 (diff) | |
download | jenkins.debian.net-c3433e511217147a41788cb20d6448c4be99aceb.tar.xz |
g-i: only compare 10% of the screenshots
Diffstat (limited to 'bin')
-rw-r--r-- | bin/g-i-installation.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/g-i-installation.sh b/bin/g-i-installation.sh index 45b966eb..320d5a9b 100644 --- a/bin/g-i-installation.sh +++ b/bin/g-i-installation.sh @@ -1114,7 +1114,7 @@ monitor_system() { echo "$PIXEL pixel difference between snapshot_${PRINTF_NR}.png and snapshot_${PRINTF_OLD}.png" if [ $PIXEL -lt 400 ] ; then SAME=Y - for INTER in $(seq $OLD $NR); do + for INTER in $(seq $OLD 10 $NR); do PRINTF_INTER=$(printf "%06d" $INTER) PIXEL=$(compare -metric AE snapshot_${PRINTF_NR}.png snapshot_${PRINTF_INTER}.png /dev/null 2>&1 || true ) if [[ "$PIXEL" =~ ^[0-9]+$ ]] ; then |