When enabled in DISTRO_FEATURES the test may run on a system without systemd.
Fix this.

Signed-off-by: Richard Purdie <[email protected]>
---
 meta/lib/oeqa/runtime/cases/systemd.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/lib/oeqa/runtime/cases/systemd.py 
b/meta/lib/oeqa/runtime/cases/systemd.py
index 4c581ba396e..2865887959a 100644
--- a/meta/lib/oeqa/runtime/cases/systemd.py
+++ b/meta/lib/oeqa/runtime/cases/systemd.py
@@ -137,6 +137,7 @@ class SystemdServiceTests(SystemdTest):
             status = self.target.run('mount -oro,remount /')[0]
             self.assertTrue(status == 0, msg='Remounting / as r/o failed')
 
+    @OETestDepends(['systemd.SystemdBasicTests.test_systemd_basic'])
     @skipIfNotFeature('minidebuginfo', 'Test requires minidebuginfo to be in 
DISTRO_FEATURES')
     @OEHasPackage(['busybox'])
     def test_systemd_coredump_minidebuginfo(self):
-- 
2.39.2

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#192080): 
https://lists.openembedded.org/g/openembedded-core/message/192080
Mute This Topic: https://lists.openembedded.org/mt/103058961/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to