0e65515862
The weston runtime test uses the CRC of the framebuffer to detect that "something" is being drawned on the framebuffer. This requires that the sampling of the CRC happens does not happen too early after trigerring an action, or the rendering may be not be finishe, either: - weston may not have had time to initialise, or - the test application may not have started rednering, The sequence of rendering that has been observed yields this sequence of CRCs (elided for brevity): - boot: - alternating between 0x4c4126bf and 0x5d2f9aa5: console cursor blinking - start weston: - 0x4c4126bf: weston switches to a cleared vt, no blinking cursor ... - 0xe54b7895: weston is starting ... - 0xe54b7895: wayland socket appears! ... - 0x6bf28bdf: weston is ready ... - start weston-simple-egl: - 0x6bf28bdf: application is starting ... - 0xNNNNNNNN: random CRCs while the application renders ... - stop weston-simple-egl: - 0xNNNNNNNN: zero, one, or two random CRCs while the application renders before it handles SIGTERM - 0x6bf28bdf: application is stopped ... - stop weston: - 0x6bf28bdf: a few CRC identical to when weston was started, while weston is processing SIGTERM - oscillating between 0x4c4126bf and 0x5d2f9aa5: console cursor blinking, back to initial vt, weston dead. So, we need to wait "enough" after each action. Moreover, when the wayland socket appears, weston may not have stabilised yet, so we also need to wait after the socket appears. Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> Cc: Julien Olivain <ju.o@free.fr> |
||
---|---|---|
.. | ||
config-fragments | ||
dependencies | ||
docker | ||
download | ||
gnuconfig | ||
kconfig | ||
legal-info | ||
libtool | ||
misc | ||
scripts | ||
testing |