X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=common%2Fscripts%2Fagl-screenshot-test.sh;h=d1261ba2495d3c898527e9c4e69813e40ce703ae;hb=75094d614243e04c0751532ec1680352a0c7eb6a;hp=8005e5f9da1626990ef1d348fc1eaa65590d9158;hpb=23bb2b54f6bdcd159a7d08ce3ac83836d568af04;p=src%2Fqa-testdefinitions.git diff --git a/common/scripts/agl-screenshot-test.sh b/common/scripts/agl-screenshot-test.sh index 8005e5f..d1261ba 100755 --- a/common/scripts/agl-screenshot-test.sh +++ b/common/scripts/agl-screenshot-test.sh @@ -35,11 +35,19 @@ if ! grep -q 'Usable area:' /run/platform/display/compositor.log ; then sleep 60 fi if ! grep -q 'Usable area:' /run/platform/display/compositor.log ; then -# e.g. qemu-system-arm takes loooong + # e.g. qemu-system-arm takes loooong echo "Waiting for compositor to initialize (+120sec)." - sleep 120 + sleep 120 +fi + +# some take veeeeery long +if ! grep -q 'Usable area:' /run/platform/display/compositor.log ; then + # e.g. qemu-system-arm takes veeery loooong + echo "Waiting for compositor to initialize (+240sec)." + sleep 240 fi +# giving up now if ! grep -q 'Usable area:' /run/platform/display/compositor.log ; then echo "Marker ('Usable area:') not found. Dumping log." echo "##################################"