diff options
Diffstat (limited to 'common/scripts')
-rwxr-xr-x | common/scripts/agl-screenshot-test.sh | 6 |
1 files changed, 6 insertions, 0 deletions
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 @@ -35,6 +35,12 @@ 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 + 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 "##################################" cat /run/platform/display/compositor.log |