From feb885281f0eb7264dad2c1e2cc9649250e49898 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Mon, 31 Dec 2012 13:53:55 +0100 Subject: tolerate 400 pixel diff --- bin/g-i-installation.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bin') diff --git a/bin/g-i-installation.sh b/bin/g-i-installation.sh index ff0887cb..bc7b7be9 100755 --- a/bin/g-i-installation.sh +++ b/bin/g-i-installation.sh @@ -502,10 +502,10 @@ monitor_system() { let OLD=NR-400 PRINTF_OLD=$(printf "%06d" $OLD) # test if this screenshot is basically the same as the one 400 screenshots ago - # 200 pixels difference between to images is tolerated, to ignore updating clocks - PIXEL=$(compare -metric AE snapshot_${PRINTF_NR}.ppm snapshot_${PRINTF_OLD}.ppm /dev/null 2>&1 || echo 100000) + # 400 pixels difference between to images is tolerated, to ignore updating clocks + PIXEL=$(compare -metric AE snapshot_${PRINTF_NR}.ppm snapshot_${PRINTF_OLD}.ppm /dev/null 2>&1 || echo 100000) # FIXME: this is a broken workaround echo "$PIXEL pixel difference between snapshot_${PRINTF_NR}.ppm and snapshot_${PRINTF_OLD}.ppm" - if [ $PIXEL -lt 200 ] ; then + if [ $PIXEL -lt 400 ] ; then set -x # unless TRIGGER_MODE is empty, matching images means its over if [ ! -z "$TRIGGER_MODE" ] ; then -- cgit v1.2.3-54-g00ecf