From b9a2d8a916e6e33d3d594d12525ab4021ef1e9b4 Mon Sep 17 00:00:00 2001 From: Jan-Simon Moeller Date: Wed, 18 Dec 2024 14:34:23 +0100 Subject: We need time for the app to display before we take the screenshot Change-Id: I913017be553b5f96a279b6996bafa42126791b8f Signed-off-by: Jan-Simon Moeller --- common/scripts/agl-screenshot-test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'common') diff --git a/common/scripts/agl-screenshot-test.sh b/common/scripts/agl-screenshot-test.sh index 9aac95c..8af7925 100755 --- a/common/scripts/agl-screenshot-test.sh +++ b/common/scripts/agl-screenshot-test.sh @@ -65,7 +65,7 @@ systemctl restart agl-compositor.service systemctl start $HOMESCREEN.service # e.g. qemu-system-arm takes loooong -sleep 20 +sleep 15 echo "Waiting for compositor to initialize (+20sec)." LOOP=20 @@ -118,7 +118,7 @@ fi rm -rf /home/agl-driver/agl-screenshot-*.png # give it a bit more time to display -#sleep 60 +sleep 15 $AGL_SCREENSHOOTER -l -- cgit 1.2.3-korg