summaryrefslogtreecommitdiffstats
path: root/lib/oeqa/selftest
diff options
context:
space:
mode:
Diffstat (limited to 'lib/oeqa/selftest')
-rw-r--r--lib/oeqa/selftest/updater.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/oeqa/selftest/updater.py b/lib/oeqa/selftest/updater.py
index 6339e6e..9945b40 100644
--- a/lib/oeqa/selftest/updater.py
+++ b/lib/oeqa/selftest/updater.py
@@ -57,6 +57,14 @@ class HsmTests(oeSelfTest):
57 57
58class GeneralTests(oeSelfTest): 58class GeneralTests(oeSelfTest):
59 59
60 def test_feature_sota(self):
61 result = get_bb_var('DISTRO_FEATURES').find('sota')
62 self.assertNotEqual(result, -1, 'Feature "sota" not set at DISTRO_FEATURES');
63
64 def test_feature_systemd(self):
65 result = get_bb_var('DISTRO_FEATURES').find('systemd')
66 self.assertNotEqual(result, -1, 'Feature "systemd" not set at DISTRO_FEATURES');
67
60 def test_java(self): 68 def test_java(self):
61 result = runCmd('which java', ignore_status=True) 69 result = runCmd('which java', ignore_status=True)
62 self.assertEqual(result.status, 0, "Java not found.") 70 self.assertEqual(result.status, 0, "Java not found.")