aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>2021-09-15 16:50:18 +0200
committerJan-Simon Möller <jsmoeller@linuxfoundation.org>2021-09-15 16:50:18 +0200
commitb79f757e53d0ceddb835137ebc5bdf41c4148b1f (patch)
treef9974df2778219d595792978d7fa4ce2b10f01b0 /common
parent75094d614243e04c0751532ec1680352a0c7eb6a (diff)
Wait for screenshot until display is up
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: Ie74175ab892f12a4eca439350bdd043bb282f931
Diffstat (limited to 'common')
-rwxr-xr-xcommon/scripts/agl-screenshot-test.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/scripts/agl-screenshot-test.sh b/common/scripts/agl-screenshot-test.sh
index d1261ba..b0c79cd 100755
--- a/common/scripts/agl-screenshot-test.sh
+++ b/common/scripts/agl-screenshot-test.sh
@@ -67,6 +67,9 @@ fi
#echo "Found agl-screenshoooter in $AGL_SCREENSHOOTER"
rm -rf agl-screenshot-*.png
+# give it a bit more time to display
+sleep 30
+
if $AGL_SCREENSHOOTER; then
echo "Screenshot taken"
else