Code Review
/
src
/
qa-testdefinitions.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Extend the waiting time for emulated platforms
[src/qa-testdefinitions.git]
/
common
/
scripts
/
agl-screenshot-test.sh
diff --git
a/common/scripts/agl-screenshot-test.sh
b/common/scripts/agl-screenshot-test.sh
index
8005e5f
..
d1261ba
100755
(executable)
--- a/
common/scripts/agl-screenshot-test.sh
+++ b/
common/scripts/agl-screenshot-test.sh
@@
-35,11
+35,19
@@
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
sleep 60
fi
if ! grep -q 'Usable area:' /run/platform/display/compositor.log ; then
-# e.g. qemu-system-arm takes loooong
+
# e.g. qemu-system-arm takes loooong
echo "Waiting for compositor to initialize (+120sec)."
echo "Waiting for compositor to initialize (+120sec)."
- sleep 120
+ sleep 120
+fi
+
+# some take veeeeery long
+if ! grep -q 'Usable area:' /run/platform/display/compositor.log ; then
+ # e.g. qemu-system-arm takes veeery loooong
+ echo "Waiting for compositor to initialize (+240sec)."
+ sleep 240
fi
fi
+# giving up now
if ! grep -q 'Usable area:' /run/platform/display/compositor.log ; then
echo "Marker ('Usable area:') not found. Dumping log."
echo "##################################"
if ! grep -q 'Usable area:' /run/platform/display/compositor.log ; then
echo "Marker ('Usable area:') not found. Dumping log."
echo "##################################"