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>
This commit is contained in:
Francisco Pedraza
2017-01-30 14:14:36 -06:00
committed by Richard Purdie
parent 0b040f9534
commit 45cbf0f4f8
2 changed files with 9 additions and 9 deletions

View File

@@ -50,25 +50,25 @@ class DevtoolTest(OESDKExtTestCase):
self._run('devtool add myapp %s' % self.myapp_dst)
self._run('devtool reset myapp')
@OETestID(1473)
@OETestID(1605)
@OETestDepends(['test_devtool_location'])
@skipIfNotDataVar('SDK_INCLUDE_TOOLCHAIN', '1', 'SDK does not include toolchain')
def test_devtool_build_make(self):
self._test_devtool_build(self.myapp_dst)
@OETestID(1474)
@OETestID(1606)
@OETestDepends(['test_devtool_location'])
@skipIfNotDataVar('SDK_INCLUDE_TOOLCHAIN', '1', 'SDK does not include toolchain')
def test_devtool_build_esdk_package(self):
self._test_devtool_build_package(self.myapp_dst)
@OETestID(1479)
@OETestID(1607)
@OETestDepends(['test_devtool_location'])
@skipIfNotDataVar('SDK_INCLUDE_TOOLCHAIN', '1', 'SDK does not include toolchain')
def test_devtool_build_cmake(self):
self._test_devtool_build(self.myapp_cmake_dst)
@OETestID(1482)
@OETestID(1608)
@OETestDepends(['test_devtool_location'])
@skipIfNotDataVar('SDK_INCLUDE_TOOLCHAIN', '1', 'SDK does not include toolchain')
def test_extend_autotools_recipe_creation(self):
@@ -83,7 +83,7 @@ class DevtoolTest(OESDKExtTestCase):
raise e
self._run('devtool reset %s' % recipe)
@OETestID(1484)
@OETestID(1609)
@OETestDepends(['test_devtool_location'])
@skipIfNotDataVar('SDK_INCLUDE_TOOLCHAIN', '1', 'SDK does not include toolchain')
def test_devtool_kernelmodule(self):
@@ -98,7 +98,7 @@ class DevtoolTest(OESDKExtTestCase):
raise e
self._run('devtool reset %s' % recipe)
@OETestID(1478)
@OETestID(1610)
@OETestDepends(['test_devtool_location'])
@skipIfNotDataVar('SDK_INCLUDE_TOOLCHAIN', '1', 'SDK does not include toolchain')
def test_recipes_for_nodejs(self):

View File

@@ -15,7 +15,7 @@ class oeSDKExtSelfTest(oeSelfTest):
"""
# Bugzilla Test Plan: 6033
# This code is planned to be part of the automation for eSDK containig
# Install libraries and headers, image generation binary feeds.
# Install libraries and headers, image generation binary feeds, sdk-update.
"""
@staticmethod
@@ -109,14 +109,14 @@ SSTATE_MIRRORS = "file://.* http://%s/PATH"
shutil.rmtree(cls.tmpdir_eSDKQA)
cls.http_service.stop()
@testcase (1471)
@testcase (1602)
def test_install_libraries_headers(self):
pn_sstate = 'bc'
bitbake(pn_sstate)
cmd = "devtool sdk-install %s " % pn_sstate
oeSDKExtSelfTest.run_esdk_cmd(self.env_eSDK, self.tmpdir_eSDKQA, cmd)
@testcase(1472)
@testcase(1603)
def test_image_generation_binary_feeds(self):
image = 'core-image-minimal'
cmd = "devtool build-image %s" % image