summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/selftest/cases/imagefeatures.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2019-05-08 16:56:32 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-05-20 14:38:16 +0100
commit10e1b48a9e2d726229a0245339bf7be21ad9ca53 (patch)
treefc1e31a00d193490e4b5b65f9af04372a6e57693 /meta/lib/oeqa/selftest/cases/imagefeatures.py
parent64fa42868df98dd87fb1f5ad74977ac833936cb5 (diff)
downloadpoky-10e1b48a9e2d726229a0245339bf7be21ad9ca53.tar.gz
oeqa: Drop OETestID
These IDs refer to testopia which we're no longer using. We would now use the test names to definitively reference tests and the IDs can be dropped, along with their supporting code. (From OE-Core rev: 551153b0bd1ebbc05582f6014e3d88b9ce4a46d0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> [Backported to keep in-sync with future qa changes] Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/selftest/cases/imagefeatures.py')
-rw-r--r--meta/lib/oeqa/selftest/cases/imagefeatures.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/meta/lib/oeqa/selftest/cases/imagefeatures.py b/meta/lib/oeqa/selftest/cases/imagefeatures.py
index aed63e5476..a1d9f12dcc 100644
--- a/meta/lib/oeqa/selftest/cases/imagefeatures.py
+++ b/meta/lib/oeqa/selftest/cases/imagefeatures.py
@@ -1,6 +1,5 @@
1from oeqa.selftest.case import OESelftestTestCase 1from oeqa.selftest.case import OESelftestTestCase
2from oeqa.utils.commands import runCmd, bitbake, get_bb_var, runqemu 2from oeqa.utils.commands import runCmd, bitbake, get_bb_var, runqemu
3from oeqa.core.decorator.oeid import OETestID
4from oeqa.utils.sshcontrol import SSHControl 3from oeqa.utils.sshcontrol import SSHControl
5import os 4import os
6import json 5import json
@@ -10,7 +9,6 @@ class ImageFeatures(OESelftestTestCase):
10 test_user = 'tester' 9 test_user = 'tester'
11 root_user = 'root' 10 root_user = 'root'
12 11
13 @OETestID(1107)
14 def test_non_root_user_can_connect_via_ssh_without_password(self): 12 def test_non_root_user_can_connect_via_ssh_without_password(self):
15 """ 13 """
16 Summary: Check if non root user can connect via ssh without password 14 Summary: Check if non root user can connect via ssh without password
@@ -36,7 +34,6 @@ class ImageFeatures(OESelftestTestCase):
36 status, output = ssh.run("true") 34 status, output = ssh.run("true")
37 self.assertEqual(status, 0, 'ssh to user %s failed with %s' % (user, output)) 35 self.assertEqual(status, 0, 'ssh to user %s failed with %s' % (user, output))
38 36
39 @OETestID(1115)
40 def test_all_users_can_connect_via_ssh_without_password(self): 37 def test_all_users_can_connect_via_ssh_without_password(self):
41 """ 38 """
42 Summary: Check if all users can connect via ssh without password 39 Summary: Check if all users can connect via ssh without password
@@ -66,7 +63,6 @@ class ImageFeatures(OESelftestTestCase):
66 self.assertEqual(status, 0, 'ssh to user tester failed with %s' % output) 63 self.assertEqual(status, 0, 'ssh to user tester failed with %s' % output)
67 64
68 65
69 @OETestID(1116)
70 def test_clutter_image_can_be_built(self): 66 def test_clutter_image_can_be_built(self):
71 """ 67 """
72 Summary: Check if clutter image can be built 68 Summary: Check if clutter image can be built
@@ -79,7 +75,6 @@ class ImageFeatures(OESelftestTestCase):
79 # Build a core-image-clutter 75 # Build a core-image-clutter
80 bitbake('core-image-clutter') 76 bitbake('core-image-clutter')
81 77
82 @OETestID(1117)
83 def test_wayland_support_in_image(self): 78 def test_wayland_support_in_image(self):
84 """ 79 """
85 Summary: Check Wayland support in image 80 Summary: Check Wayland support in image
@@ -97,7 +92,6 @@ class ImageFeatures(OESelftestTestCase):
97 # Build a core-image-weston 92 # Build a core-image-weston
98 bitbake('core-image-weston') 93 bitbake('core-image-weston')
99 94
100 @OETestID(1497)
101 def test_bmap(self): 95 def test_bmap(self):
102 """ 96 """
103 Summary: Check bmap support 97 Summary: Check bmap support
@@ -131,7 +125,6 @@ class ImageFeatures(OESelftestTestCase):
131 # check if the resulting gzip is valid 125 # check if the resulting gzip is valid
132 self.assertTrue(runCmd('gzip -t %s' % gzip_path)) 126 self.assertTrue(runCmd('gzip -t %s' % gzip_path))
133 127
134 @OETestID(1903)
135 def test_hypervisor_fmts(self): 128 def test_hypervisor_fmts(self):
136 """ 129 """
137 Summary: Check various hypervisor formats 130 Summary: Check various hypervisor formats
@@ -166,7 +159,6 @@ class ImageFeatures(OESelftestTestCase):
166 native_sysroot=sysroot) 159 native_sysroot=sysroot)
167 self.assertTrue(json.loads(result.output).get('format') == itype) 160 self.assertTrue(json.loads(result.output).get('format') == itype)
168 161
169 @OETestID(1905)
170 def test_long_chain_conversion(self): 162 def test_long_chain_conversion(self):
171 """ 163 """
172 Summary: Check for chaining many CONVERSION_CMDs together 164 Summary: Check for chaining many CONVERSION_CMDs together
@@ -198,7 +190,6 @@ class ImageFeatures(OESelftestTestCase):
198 self.assertTrue(runCmd('cd %s;sha256sum -c %s.%s.sha256sum' % 190 self.assertTrue(runCmd('cd %s;sha256sum -c %s.%s.sha256sum' %
199 (deploy_dir_image, link_name, conv))) 191 (deploy_dir_image, link_name, conv)))
200 192
201 @OETestID(1904)
202 def test_image_fstypes(self): 193 def test_image_fstypes(self):
203 """ 194 """
204 Summary: Check if image of supported image fstypes can be built 195 Summary: Check if image of supported image fstypes can be built