diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-05-08 16:56:32 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-05-09 16:31:55 +0100 |
commit | c7592b01478def091b6787412390c61e7ce0a0cd (patch) | |
tree | 3c2f26480c6e16fae0ad65b032e3dc0fccfca71b /meta/lib/oeqa/selftest/cases/imagefeatures.py | |
parent | c0dc72bad92e2e4dc0aedb48b969709f821baf73 (diff) | |
download | poky-c7592b01478def091b6787412390c61e7ce0a0cd.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: 8e2d0575e4e7036b5f60e632f377a8ab2b96ead8)
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.py | 9 |
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 @@ | |||
1 | from oeqa.selftest.case import OESelftestTestCase | 1 | from oeqa.selftest.case import OESelftestTestCase |
2 | from oeqa.utils.commands import runCmd, bitbake, get_bb_var, runqemu | 2 | from oeqa.utils.commands import runCmd, bitbake, get_bb_var, runqemu |
3 | from oeqa.core.decorator.oeid import OETestID | ||
4 | from oeqa.utils.sshcontrol import SSHControl | 3 | from oeqa.utils.sshcontrol import SSHControl |
5 | import os | 4 | import os |
6 | import json | 5 | import 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 |