From 75094d614243e04c0751532ec1680352a0c7eb6a Mon Sep 17 00:00:00 2001 From: Jan-Simon Möller Date: Wed, 15 Sep 2021 14:09:13 +0200 Subject: Extend the waiting time for emulated platforms MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jan-Simon Möller Change-Id: I3d8cf2dd5227edabf8dc39eb50f5fa0560a5d221 --- common/scripts/agl-screenshot-test.sh | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) 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 "##################################" -- cgit 1.2.3-korg