summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/lib/oeqa/runtime/cases/weston.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/lib/oeqa/runtime/cases/weston.py b/meta/lib/oeqa/runtime/cases/weston.py
index a1c7183213..b3a7c2776d 100644
--- a/meta/lib/oeqa/runtime/cases/weston.py
+++ b/meta/lib/oeqa/runtime/cases/weston.py
@@ -53,7 +53,11 @@ class WestonTest(OERuntimeTestCase):
53 53
54 @OEHasPackage(['wayland-utils']) 54 @OEHasPackage(['wayland-utils'])
55 def test_wayland_info(self): 55 def test_wayland_info(self):
56 status, output = self.target.run(self.get_weston_command('wayland-info')) 56 if 'systemd' in self.tc.td['VIRTUAL-RUNTIME_init_manager']:
57 command = 'XDG_RUNTIME_DIR=/run wayland-info'
58 else:
59 command = self.get_weston_command('wayland-info')
60 status, output = self.target.run(command)
57 self.assertEqual(status, 0, msg='wayland-info error: %s' % output) 61 self.assertEqual(status, 0, msg='wayland-info error: %s' % output)
58 62
59 @OEHasPackage(['weston']) 63 @OEHasPackage(['weston'])