]> code.ossystems Code Review - openembedded-core.git/commit
oeqa/runtime/weston: Enhance weston tests
authorYeoh Ee Peng <ee.peng.yeoh@intel.com>
Tue, 21 Apr 2020 00:50:09 +0000 (08:50 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 25 Apr 2020 15:34:13 +0000 (16:34 +0100)
commitd06552c588bde8fc15c23d8fc2eb00a4243cbc3b
tree0664226cbe9003a12bbf97d1e9a58ee07f242462
parente25e3f151c324272990ad6370c5bc71fd5d05c8c
oeqa/runtime/weston: Enhance weston tests

Existing weston test available make sure that a process
for weston-desktop-shell exist when image boot up.

Enhance weston tests by:
 - execute weston-info to make sure weston interface(s)
   are initialized
 - execute weston and make sure it can initialize a
   new wayland compositor (retry checking for
   wayland processes up to 5 times)
 - enable weston logging for debugging when fail
   to initialize wayland compositor

[YOCTO# 10690]

Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/runtime/cases/weston.py