From 38c434c01285b284367d2533636770f2ea6aff56 Mon Sep 17 00:00:00 2001 From: Jan-Simon Möller Date: Mon, 10 May 2021 22:27:10 +0200 Subject: Extend wait time for compositor restart MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This fixes slow (e.g. mesa) startup. Signed-off-by: Jan-Simon Möller Change-Id: I10ef1e14ca97370c59984b5d848b90e6cbb9d40b --- common/scripts/agl-screenshot-test.sh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'common/scripts') diff --git a/common/scripts/agl-screenshot-test.sh b/common/scripts/agl-screenshot-test.sh index b9d934f..8005e5f 100755 --- a/common/scripts/agl-screenshot-test.sh +++ b/common/scripts/agl-screenshot-test.sh @@ -34,6 +34,12 @@ if ! grep -q 'Usable area:' /run/platform/display/compositor.log ; then echo "Waiting for compositor to initialize (+60sec)." sleep 60 fi +if ! grep -q 'Usable area:' /run/platform/display/compositor.log ; then +# e.g. qemu-system-arm takes loooong + echo "Waiting for compositor to initialize (+120sec)." + sleep 120 +fi + 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