From c3433e511217147a41788cb20d6448c4be99aceb Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Thu, 27 Nov 2014 00:56:17 +0100 Subject: g-i: only compare 10% of the screenshots --- bin/g-i-installation.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/g-i-installation.sh') 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 -- cgit v1.2.3-54-g00ecf