summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancisco Pedraza <francisco.j.pedraza.gonzalez@intel.com>2017-01-30 14:14:36 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-02-05 09:22:18 +0000
commit45cbf0f4f8f3fcf2c0678d9cabdda2a3d4c2eadb (patch)
treec032a61c884922b36ffb9529cf9216739d95ebda
parent0b040f9534ea7530112709eacd299f7313eef380 (diff)
downloadpoky-45cbf0f4f8f3fcf2c0678d9cabdda2a3d4c2eadb.tar.gz
sdkext/cases oeqa/selftest: Updates decorators
Updates decorators for eSDK in test cases at: sdkext/cases/devtool.py and oeqa/selftest/eSDK.py (From OE-Core rev: 36783b17085e73bbf47242e87bbf054352ae0a9d) Signed-off-by: Francisco Pedraza <francisco.j.pedraza.gonzalez@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/lib/oeqa/sdkext/cases/devtool.py12
-rw-r--r--meta/lib/oeqa/selftest/eSDK.py6
2 files changed, 9 insertions, 9 deletions
diff --git a/meta/lib/oeqa/sdkext/cases/devtool.py b/meta/lib/oeqa/sdkext/cases/devtool.py
index eda0d8122b..f0abc95bc6 100644
--- a/meta/lib/oeqa/sdkext/cases/devtool.py
+++ b/meta/lib/oeqa/sdkext/cases/devtool.py
@@ -50,25 +50,25 @@ class DevtoolTest(OESDKExtTestCase):
50 self._run('devtool add myapp %s' % self.myapp_dst) 50 self._run('devtool add myapp %s' % self.myapp_dst)
51 self._run('devtool reset myapp') 51 self._run('devtool reset myapp')
52 52
53 @OETestID(1473) 53 @OETestID(1605)
54 @OETestDepends(['test_devtool_location']) 54 @OETestDepends(['test_devtool_location'])
55 @skipIfNotDataVar('SDK_INCLUDE_TOOLCHAIN', '1', 'SDK does not include toolchain') 55 @skipIfNotDataVar('SDK_INCLUDE_TOOLCHAIN', '1', 'SDK does not include toolchain')
56 def test_devtool_build_make(self): 56 def test_devtool_build_make(self):
57 self._test_devtool_build(self.myapp_dst) 57 self._test_devtool_build(self.myapp_dst)
58 58
59 @OETestID(1474) 59 @OETestID(1606)
60 @OETestDepends(['test_devtool_location']) 60 @OETestDepends(['test_devtool_location'])
61 @skipIfNotDataVar('SDK_INCLUDE_TOOLCHAIN', '1', 'SDK does not include toolchain') 61 @skipIfNotDataVar('SDK_INCLUDE_TOOLCHAIN', '1', 'SDK does not include toolchain')
62 def test_devtool_build_esdk_package(self): 62 def test_devtool_build_esdk_package(self):
63 self._test_devtool_build_package(self.myapp_dst) 63 self._test_devtool_build_package(self.myapp_dst)
64 64
65 @OETestID(1479) 65 @OETestID(1607)
66 @OETestDepends(['test_devtool_location']) 66 @OETestDepends(['test_devtool_location'])
67 @skipIfNotDataVar('SDK_INCLUDE_TOOLCHAIN', '1', 'SDK does not include toolchain') 67 @skipIfNotDataVar('SDK_INCLUDE_TOOLCHAIN', '1', 'SDK does not include toolchain')
68 def test_devtool_build_cmake(self): 68 def test_devtool_build_cmake(self):
69 self._test_devtool_build(self.myapp_cmake_dst) 69 self._test_devtool_build(self.myapp_cmake_dst)
70 70
71 @OETestID(1482) 71 @OETestID(1608)
72 @OETestDepends(['test_devtool_location']) 72 @OETestDepends(['test_devtool_location'])
73 @skipIfNotDataVar('SDK_INCLUDE_TOOLCHAIN', '1', 'SDK does not include toolchain') 73 @skipIfNotDataVar('SDK_INCLUDE_TOOLCHAIN', '1', 'SDK does not include toolchain')
74 def test_extend_autotools_recipe_creation(self): 74 def test_extend_autotools_recipe_creation(self):
@@ -83,7 +83,7 @@ class DevtoolTest(OESDKExtTestCase):
83 raise e 83 raise e
84 self._run('devtool reset %s' % recipe) 84 self._run('devtool reset %s' % recipe)
85 85
86 @OETestID(1484) 86 @OETestID(1609)
87 @OETestDepends(['test_devtool_location']) 87 @OETestDepends(['test_devtool_location'])
88 @skipIfNotDataVar('SDK_INCLUDE_TOOLCHAIN', '1', 'SDK does not include toolchain') 88 @skipIfNotDataVar('SDK_INCLUDE_TOOLCHAIN', '1', 'SDK does not include toolchain')
89 def test_devtool_kernelmodule(self): 89 def test_devtool_kernelmodule(self):
@@ -98,7 +98,7 @@ class DevtoolTest(OESDKExtTestCase):
98 raise e 98 raise e
99 self._run('devtool reset %s' % recipe) 99 self._run('devtool reset %s' % recipe)
100 100
101 @OETestID(1478) 101 @OETestID(1610)
102 @OETestDepends(['test_devtool_location']) 102 @OETestDepends(['test_devtool_location'])
103 @skipIfNotDataVar('SDK_INCLUDE_TOOLCHAIN', '1', 'SDK does not include toolchain') 103 @skipIfNotDataVar('SDK_INCLUDE_TOOLCHAIN', '1', 'SDK does not include toolchain')
104 def test_recipes_for_nodejs(self): 104 def test_recipes_for_nodejs(self):
diff --git a/meta/lib/oeqa/selftest/eSDK.py b/meta/lib/oeqa/selftest/eSDK.py
index c95ca6deb2..ee1ca6a4ec 100644
--- a/meta/lib/oeqa/selftest/eSDK.py
+++ b/meta/lib/oeqa/selftest/eSDK.py
@@ -15,7 +15,7 @@ class oeSDKExtSelfTest(oeSelfTest):
15 """ 15 """
16 # Bugzilla Test Plan: 6033 16 # Bugzilla Test Plan: 6033
17 # This code is planned to be part of the automation for eSDK containig 17 # This code is planned to be part of the automation for eSDK containig
18 # Install libraries and headers, image generation binary feeds. 18 # Install libraries and headers, image generation binary feeds, sdk-update.
19 """ 19 """
20 20
21 @staticmethod 21 @staticmethod
@@ -109,14 +109,14 @@ SSTATE_MIRRORS = "file://.* http://%s/PATH"
109 shutil.rmtree(cls.tmpdir_eSDKQA) 109 shutil.rmtree(cls.tmpdir_eSDKQA)
110 cls.http_service.stop() 110 cls.http_service.stop()
111 111
112 @testcase (1471) 112 @testcase (1602)
113 def test_install_libraries_headers(self): 113 def test_install_libraries_headers(self):
114 pn_sstate = 'bc' 114 pn_sstate = 'bc'
115 bitbake(pn_sstate) 115 bitbake(pn_sstate)
116 cmd = "devtool sdk-install %s " % pn_sstate 116 cmd = "devtool sdk-install %s " % pn_sstate
117 oeSDKExtSelfTest.run_esdk_cmd(self.env_eSDK, self.tmpdir_eSDKQA, cmd) 117 oeSDKExtSelfTest.run_esdk_cmd(self.env_eSDK, self.tmpdir_eSDKQA, cmd)
118 118
119 @testcase(1472) 119 @testcase(1603)
120 def test_image_generation_binary_feeds(self): 120 def test_image_generation_binary_feeds(self):
121 image = 'core-image-minimal' 121 image = 'core-image-minimal'
122 cmd = "devtool build-image %s" % image 122 cmd = "devtool build-image %s" % image