oeqa runtime ima.py: skip without "integrity" in DISTRO_FEATURES

ima and meta-integrity are not enabled without and the test fails.

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
Mikko Rapeli authored and Armin Kuster committed 2024-12-27 11:28:23 -05:00
1 parent 08c712d672
commit 1f7cc51443
1 file changed
+1
@@ -27,6 +27,7 @@ class IMACheck(OERuntimeTestCase):
@OETestDepends(['ssh.SSHTest.test_ssh'])
@skipIfNotFeature('integrity','Test requires "integrity" in DISTRO_FEATURES')
def test_ima_enabled(self):
''' Test if IMA policy is loaded before systemd starts'''