aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>2024-12-18 14:34:23 +0100
committerJan-Simon Möller <jsmoeller@linuxfoundation.org>2024-12-18 16:34:08 +0100
commitb9a2d8a916e6e33d3d594d12525ab4021ef1e9b4 (patch)
tree69ef8fd0f9788609de3cb3becb674efeec7f2e1f
parent1d0fbc4e03f43ac248a4f66dd8cda8097fc59b97 (diff)
We need time for the app to display before we take the screenshotHEADmaster
Change-Id: I913017be553b5f96a279b6996bafa42126791b8f Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
-rwxr-xr-xcommon/scripts/agl-screenshot-test.sh4
1 files changed, 2 insertions, 2 deletions
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