summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/selftest/cases/imagefeatures.py
diff options
context:
space:
mode:
authorJose Perez Carranza <jose.perez.carranza@linux.intel.com>2017-09-01 13:30:24 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-09-11 17:30:28 +0100
commit1d5d4165a5bc257650a4c136dfa4a58ade3e404e (patch)
treedbaa78002561ec127e8615988fcf9d35c51acca8 /meta/lib/oeqa/selftest/cases/imagefeatures.py
parent3c492afe4f3c8d1cf7e1fef0e83a71dd1557c62e (diff)
downloadpoky-1d5d4165a5bc257650a4c136dfa4a58ade3e404e.tar.gz
oeqa/selftest: Add missing IDs to various test cases
Add decorator @OETestID() with Tesopia TC-ID to the test cases that did not have it properly set. [YOCTO #11873] (From OE-Core rev: aa5b9edbd9c4495befe1912a5b401b536be39d5b) Signed-off-by: Jose Perez Carranza <jose.perez.carranza@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.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.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/lib/oeqa/selftest/cases/imagefeatures.py b/meta/lib/oeqa/selftest/cases/imagefeatures.py
index bb2e0dba4c..1a850008ef 100644
--- a/meta/lib/oeqa/selftest/cases/imagefeatures.py
+++ b/meta/lib/oeqa/selftest/cases/imagefeatures.py
@@ -131,6 +131,7 @@ class ImageFeatures(OESelftestTestCase):
131 # check if the resulting gzip is valid 131 # check if the resulting gzip is valid
132 self.assertTrue(runCmd('gzip -t %s' % gzip_path)) 132 self.assertTrue(runCmd('gzip -t %s' % gzip_path))
133 133
134 @OETestID(1903)
134 def test_hypervisor_fmts(self): 135 def test_hypervisor_fmts(self):
135 """ 136 """
136 Summary: Check various hypervisor formats 137 Summary: Check various hypervisor formats
@@ -165,6 +166,7 @@ class ImageFeatures(OESelftestTestCase):
165 native_sysroot=sysroot) 166 native_sysroot=sysroot)
166 self.assertTrue(json.loads(result.output).get('format') == itype) 167 self.assertTrue(json.loads(result.output).get('format') == itype)
167 168
169 @OETestID(1905)
168 def test_long_chain_conversion(self): 170 def test_long_chain_conversion(self):
169 """ 171 """
170 Summary: Check for chaining many CONVERSION_CMDs together 172 Summary: Check for chaining many CONVERSION_CMDs together
@@ -196,6 +198,7 @@ class ImageFeatures(OESelftestTestCase):
196 self.assertTrue(runCmd('cd %s;sha256sum -c %s.%s.sha256sum' % 198 self.assertTrue(runCmd('cd %s;sha256sum -c %s.%s.sha256sum' %
197 (deploy_dir_image, link_name, conv))) 199 (deploy_dir_image, link_name, conv)))
198 200
201 @OETestID(1904)
199 def test_image_fstypes(self): 202 def test_image_fstypes(self):
200 """ 203 """
201 Summary: Check if image of supported image fstypes can be built 204 Summary: Check if image of supported image fstypes can be built