diff options
author | Francisco Pedraza <francisco.j.pedraza.gonzalez@intel.com> | 2017-01-25 11:07:34 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-31 14:40:17 +0000 |
commit | 59a99cd8661af594ee0c33e086578d29d50a6268 (patch) | |
tree | 1bc81c9ab67867ad3ff3409735fd995baed6703d /meta/lib/oeqa/sdkext | |
parent | c11fcd6fbde4a90913960b223451e0ce9e6b4b64 (diff) | |
download | openembedded-core-59a99cd8661af594ee0c33e086578d29d50a6268.tar.gz openembedded-core-59a99cd8661af594ee0c33e086578d29d50a6268.tar.bz2 openembedded-core-59a99cd8661af594ee0c33e086578d29d50a6268.zip |
oeqa/sdk: Updates sanity tests for minimal eSDK
Updates sanity tests to cope with minimal eSDK installer
1. Skips the validation of sanity if packagegroup-cross-canadian is in
host package.
2. Skips if SDK does not include toolchain at cases/devtool.py
This should fix [YOCTO #10794]
Signed-off-by: Francisco Pedraza <francisco.j.pedraza.gonzalez@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/lib/oeqa/sdkext')
-rw-r--r-- | meta/lib/oeqa/sdkext/cases/devtool.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/lib/oeqa/sdkext/cases/devtool.py b/meta/lib/oeqa/sdkext/cases/devtool.py index da0050c606..eda0d8122b 100644 --- a/meta/lib/oeqa/sdkext/cases/devtool.py +++ b/meta/lib/oeqa/sdkext/cases/devtool.py @@ -7,6 +7,7 @@ import subprocess from oeqa.sdkext.case import OESDKExtTestCase from oeqa.core.decorator.depends import OETestDepends from oeqa.core.decorator.oeid import OETestID +from oeqa.core.decorator.data import skipIfNotDataVar class DevtoolTest(OESDKExtTestCase): @classmethod @@ -51,21 +52,25 @@ class DevtoolTest(OESDKExtTestCase): @OETestID(1473) @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) @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) @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) @OETestDepends(['test_devtool_location']) + @skipIfNotDataVar('SDK_INCLUDE_TOOLCHAIN', '1', 'SDK does not include toolchain') def test_extend_autotools_recipe_creation(self): req = 'https://github.com/rdfa/librdfa' recipe = "bbexample" @@ -80,6 +85,7 @@ class DevtoolTest(OESDKExtTestCase): @OETestID(1484) @OETestDepends(['test_devtool_location']) + @skipIfNotDataVar('SDK_INCLUDE_TOOLCHAIN', '1', 'SDK does not include toolchain') def test_devtool_kernelmodule(self): docfile = 'https://github.com/umlaeute/v4l2loopback.git' recipe = 'v4l2loopback-driver' @@ -94,6 +100,7 @@ class DevtoolTest(OESDKExtTestCase): @OETestID(1478) @OETestDepends(['test_devtool_location']) + @skipIfNotDataVar('SDK_INCLUDE_TOOLCHAIN', '1', 'SDK does not include toolchain') def test_recipes_for_nodejs(self): package_nodejs = "npm://registry.npmjs.org;name=winston;version=2.2.0" self._run('devtool add %s ' % package_nodejs) |