Message ID | 20231208170948.2035569-1-richard.purdie@linuxfoundation.org |
---|---|
State | Accepted, archived |
Commit | c2b473390dec0f5132d5b4bff6d3c35214eb898b |
Headers | show |
Series | oeqa/runtime/systemd: Ensure test runs only on systemd images | expand |
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):
When enabled in DISTRO_FEATURES the test may run on a system without systemd. Fix this. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> --- meta/lib/oeqa/runtime/cases/systemd.py | 1 + 1 file changed, 1 insertion(+)