summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/lib/oeqa/runtime/cases/weston.py8
1 files changed, 8 insertions, 0 deletions
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):
77 self.target.run('kill -9 %s' % w) 77 self.target.run('kill -9 %s' % w)
78 __, weston_log = self.target.run('cat %s' % self.weston_log_file) 78 __, weston_log = self.target.run('cat %s' % self.weston_log_file)
79 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)) 79 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))
80
81 @skipIfNotFeature('x11', 'Test requires x11 to be in DISTRO_FEATURES')
82 @OEHasPackage(['weston'])
83 def test_weston_supports_xwayland(self):
84 cmd ='cat %s | grep "xserver listening on display"' % self.weston_log_file
85 status, output = self.target.run(cmd)
86 msg = ('xwayland does not appear to be running')
87 self.assertEqual(status, 0, msg=msg)