]> code.ossystems Code Review - openembedded-core.git/commit
oeqa/weston: Fix tests to run with systemd
authorKhem Raj <raj.khem@gmail.com>
Sun, 13 Sep 2020 21:52:43 +0000 (14:52 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 13 Sep 2020 23:14:45 +0000 (00:14 +0100)
commit7572158b861cb5d4ebf6360ced08ab41419d74d3
tree8219dd2e4f8d980d0933d62a07b44899aa563067
parentcfda3e10d5eb1563d10318c1d8ff6287b539ee04
oeqa/weston: Fix tests to run with systemd

Currently, weston tests fail when using systemd, fix it by providing
transient unit file and inject it via systemd-run, which generates a
service file automatically and launches another weston instance to test
if it can launch a nested instance. Use systemctl stop to end the
service and cleanup, instead of brutal kill

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/runtime/cases/weston.py