From: "Süsens, Sebastian" <Sebastian.Suesens@baslerweb.com>
To: openembedded-core@lists.openembedded.org
Subject: Subject: [PATCH 1/3] [PATCH] [master] weston.py: added xwayland test
Date: Mon, 13 Jun 2022 05:40:01 -0700 [thread overview]
Message-ID: <AGlB.1655124001881764456.MSf8@lists.openembedded.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 1232 bytes --]
Test xwayland support if DISTRO_FEATURE X11 is enabled
Test checked if xserver listening on display
Signed-off-by: ssuesens <sebastian.suesens@baslerweb.com>
---
meta/lib/oeqa/runtime/cases/weston.py | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/meta/lib/oeqa/runtime/cases/weston.py b/meta/lib/oeqa/runtime/cases/weston.py
index b81cc299ef..1fd471e611 100644
--- a/meta/lib/oeqa/runtime/cases/weston.py
+++ b/meta/lib/oeqa/runtime/cases/weston.py
@@ -77,3 +77,11 @@ class WestonTest(OERuntimeTestCase):
self.target.run('kill -9 %s' % w)
__, weston_log = self.target.run('cat %s' % self.weston_log_file)
self.assertTrue(new_wl_processes, msg='Could not get new weston-desktop-shell processes (%s, try_cnt:%s) weston log: %s' % (new_wl_processes, try_cnt, weston_log))
+
+ @skipIfNotFeature('x11', 'Test requires x11 to be in DISTRO_FEATURES')
+ @OEHasPackage(['weston'])
+ def test_weston_supports_xwayland(self):
+ cmd ='cat %s | grep "xserver listening on display"' % self.weston_log_file
+ status, output = self.target.run(cmd)
+ msg = ('xwayland does not appear to be running')
+ self.assertEqual(status, 0, msg=msg)
--
2.25.1
[-- Attachment #2: Type: text/html, Size: 1823 bytes --]
next reply other threads:[~2022-06-13 12:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-13 12:40 Süsens, Sebastian [this message]
2022-06-13 20:40 ` [OE-core] Subject: [PATCH 1/3] [PATCH] [master] weston.py: added xwayland test Alexandre Belloni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=AGlB.1655124001881764456.MSf8@lists.openembedded.org \
--to=sebastian.suesens@baslerweb.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox