mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
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:
committed by
Richard Purdie
parent
0b040f9534
commit
45cbf0f4f8
@@ -50,25 +50,25 @@ class DevtoolTest(OESDKExtTestCase):
|
|||||||
self._run('devtool add myapp %s' % self.myapp_dst)
|
self._run('devtool add myapp %s' % self.myapp_dst)
|
||||||
self._run('devtool reset myapp')
|
self._run('devtool reset myapp')
|
||||||
|
|
||||||
@OETestID(1473)
|
@OETestID(1605)
|
||||||
@OETestDepends(['test_devtool_location'])
|
@OETestDepends(['test_devtool_location'])
|
||||||
@skipIfNotDataVar('SDK_INCLUDE_TOOLCHAIN', '1', 'SDK does not include toolchain')
|
@skipIfNotDataVar('SDK_INCLUDE_TOOLCHAIN', '1', 'SDK does not include toolchain')
|
||||||
def test_devtool_build_make(self):
|
def test_devtool_build_make(self):
|
||||||
self._test_devtool_build(self.myapp_dst)
|
self._test_devtool_build(self.myapp_dst)
|
||||||
|
|
||||||
@OETestID(1474)
|
@OETestID(1606)
|
||||||
@OETestDepends(['test_devtool_location'])
|
@OETestDepends(['test_devtool_location'])
|
||||||
@skipIfNotDataVar('SDK_INCLUDE_TOOLCHAIN', '1', 'SDK does not include toolchain')
|
@skipIfNotDataVar('SDK_INCLUDE_TOOLCHAIN', '1', 'SDK does not include toolchain')
|
||||||
def test_devtool_build_esdk_package(self):
|
def test_devtool_build_esdk_package(self):
|
||||||
self._test_devtool_build_package(self.myapp_dst)
|
self._test_devtool_build_package(self.myapp_dst)
|
||||||
|
|
||||||
@OETestID(1479)
|
@OETestID(1607)
|
||||||
@OETestDepends(['test_devtool_location'])
|
@OETestDepends(['test_devtool_location'])
|
||||||
@skipIfNotDataVar('SDK_INCLUDE_TOOLCHAIN', '1', 'SDK does not include toolchain')
|
@skipIfNotDataVar('SDK_INCLUDE_TOOLCHAIN', '1', 'SDK does not include toolchain')
|
||||||
def test_devtool_build_cmake(self):
|
def test_devtool_build_cmake(self):
|
||||||
self._test_devtool_build(self.myapp_cmake_dst)
|
self._test_devtool_build(self.myapp_cmake_dst)
|
||||||
|
|
||||||
@OETestID(1482)
|
@OETestID(1608)
|
||||||
@OETestDepends(['test_devtool_location'])
|
@OETestDepends(['test_devtool_location'])
|
||||||
@skipIfNotDataVar('SDK_INCLUDE_TOOLCHAIN', '1', 'SDK does not include toolchain')
|
@skipIfNotDataVar('SDK_INCLUDE_TOOLCHAIN', '1', 'SDK does not include toolchain')
|
||||||
def test_extend_autotools_recipe_creation(self):
|
def test_extend_autotools_recipe_creation(self):
|
||||||
@@ -83,7 +83,7 @@ class DevtoolTest(OESDKExtTestCase):
|
|||||||
raise e
|
raise e
|
||||||
self._run('devtool reset %s' % recipe)
|
self._run('devtool reset %s' % recipe)
|
||||||
|
|
||||||
@OETestID(1484)
|
@OETestID(1609)
|
||||||
@OETestDepends(['test_devtool_location'])
|
@OETestDepends(['test_devtool_location'])
|
||||||
@skipIfNotDataVar('SDK_INCLUDE_TOOLCHAIN', '1', 'SDK does not include toolchain')
|
@skipIfNotDataVar('SDK_INCLUDE_TOOLCHAIN', '1', 'SDK does not include toolchain')
|
||||||
def test_devtool_kernelmodule(self):
|
def test_devtool_kernelmodule(self):
|
||||||
@@ -98,7 +98,7 @@ class DevtoolTest(OESDKExtTestCase):
|
|||||||
raise e
|
raise e
|
||||||
self._run('devtool reset %s' % recipe)
|
self._run('devtool reset %s' % recipe)
|
||||||
|
|
||||||
@OETestID(1478)
|
@OETestID(1610)
|
||||||
@OETestDepends(['test_devtool_location'])
|
@OETestDepends(['test_devtool_location'])
|
||||||
@skipIfNotDataVar('SDK_INCLUDE_TOOLCHAIN', '1', 'SDK does not include toolchain')
|
@skipIfNotDataVar('SDK_INCLUDE_TOOLCHAIN', '1', 'SDK does not include toolchain')
|
||||||
def test_recipes_for_nodejs(self):
|
def test_recipes_for_nodejs(self):
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ class oeSDKExtSelfTest(oeSelfTest):
|
|||||||
"""
|
"""
|
||||||
# Bugzilla Test Plan: 6033
|
# Bugzilla Test Plan: 6033
|
||||||
# This code is planned to be part of the automation for eSDK containig
|
# 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
|
@staticmethod
|
||||||
@@ -109,14 +109,14 @@ SSTATE_MIRRORS = "file://.* http://%s/PATH"
|
|||||||
shutil.rmtree(cls.tmpdir_eSDKQA)
|
shutil.rmtree(cls.tmpdir_eSDKQA)
|
||||||
cls.http_service.stop()
|
cls.http_service.stop()
|
||||||
|
|
||||||
@testcase (1471)
|
@testcase (1602)
|
||||||
def test_install_libraries_headers(self):
|
def test_install_libraries_headers(self):
|
||||||
pn_sstate = 'bc'
|
pn_sstate = 'bc'
|
||||||
bitbake(pn_sstate)
|
bitbake(pn_sstate)
|
||||||
cmd = "devtool sdk-install %s " % pn_sstate
|
cmd = "devtool sdk-install %s " % pn_sstate
|
||||||
oeSDKExtSelfTest.run_esdk_cmd(self.env_eSDK, self.tmpdir_eSDKQA, cmd)
|
oeSDKExtSelfTest.run_esdk_cmd(self.env_eSDK, self.tmpdir_eSDKQA, cmd)
|
||||||
|
|
||||||
@testcase(1472)
|
@testcase(1603)
|
||||||
def test_image_generation_binary_feeds(self):
|
def test_image_generation_binary_feeds(self):
|
||||||
image = 'core-image-minimal'
|
image = 'core-image-minimal'
|
||||||
cmd = "devtool build-image %s" % image
|
cmd = "devtool build-image %s" % image
|
||||||
|
|||||||
Reference in New Issue
Block a user