summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/sdkext
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2017-03-01 12:13:50 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-03-01 23:27:11 +0000
commitfffb6086db864f5c3761871d6289cc9f199b465d (patch)
tree54b6ea31d6b839ff4096f16d2df3e3a6a5658648 /meta/lib/oeqa/sdkext
parent88c1fb2f0c52a05e7314b8790e6f72c66c4de5ef (diff)
downloadpoky-fffb6086db864f5c3761871d6289cc9f199b465d.tar.gz
oeqa/sdkext: don't skip tests if there isn't a toolchain
Skipping the tests if a toolchain wasn't installed out of the box (for example, a minimal eSDK) doesn't make sense as the first thing the tests should do is install a toolchain. (From OE-Core rev: 1e776c1a7f4827f5a14c00dbffae0bdfb027e21e) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/sdkext')
-rw-r--r--meta/lib/oeqa/sdkext/cases/devtool.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/meta/lib/oeqa/sdkext/cases/devtool.py b/meta/lib/oeqa/sdkext/cases/devtool.py
index 63431aaa95..1072fb6095 100644
--- a/meta/lib/oeqa/sdkext/cases/devtool.py
+++ b/meta/lib/oeqa/sdkext/cases/devtool.py
@@ -7,7 +7,6 @@ import subprocess
7from oeqa.sdkext.case import OESDKExtTestCase 7from oeqa.sdkext.case import OESDKExtTestCase
8from oeqa.core.decorator.depends import OETestDepends 8from oeqa.core.decorator.depends import OETestDepends
9from oeqa.core.decorator.oeid import OETestID 9from oeqa.core.decorator.oeid import OETestID
10from oeqa.core.decorator.data import skipIfNotDataVar
11 10
12class DevtoolTest(OESDKExtTestCase): 11class DevtoolTest(OESDKExtTestCase):
13 @classmethod 12 @classmethod
@@ -51,25 +50,21 @@ class DevtoolTest(OESDKExtTestCase):
51 50
52 @OETestID(1605) 51 @OETestID(1605)
53 @OETestDepends(['test_devtool_location']) 52 @OETestDepends(['test_devtool_location'])
54 @skipIfNotDataVar('SDK_INCLUDE_TOOLCHAIN', '1', 'SDK does not include toolchain')
55 def test_devtool_build_make(self): 53 def test_devtool_build_make(self):
56 self._test_devtool_build(self.myapp_dst) 54 self._test_devtool_build(self.myapp_dst)
57 55
58 @OETestID(1606) 56 @OETestID(1606)
59 @OETestDepends(['test_devtool_location']) 57 @OETestDepends(['test_devtool_location'])
60 @skipIfNotDataVar('SDK_INCLUDE_TOOLCHAIN', '1', 'SDK does not include toolchain')
61 def test_devtool_build_esdk_package(self): 58 def test_devtool_build_esdk_package(self):
62 self._test_devtool_build_package(self.myapp_dst) 59 self._test_devtool_build_package(self.myapp_dst)
63 60
64 @OETestID(1607) 61 @OETestID(1607)
65 @OETestDepends(['test_devtool_location']) 62 @OETestDepends(['test_devtool_location'])
66 @skipIfNotDataVar('SDK_INCLUDE_TOOLCHAIN', '1', 'SDK does not include toolchain')
67 def test_devtool_build_cmake(self): 63 def test_devtool_build_cmake(self):
68 self._test_devtool_build(self.myapp_cmake_dst) 64 self._test_devtool_build(self.myapp_cmake_dst)
69 65
70 @OETestID(1608) 66 @OETestID(1608)
71 @OETestDepends(['test_devtool_location']) 67 @OETestDepends(['test_devtool_location'])
72 @skipIfNotDataVar('SDK_INCLUDE_TOOLCHAIN', '1', 'SDK does not include toolchain')
73 def test_extend_autotools_recipe_creation(self): 68 def test_extend_autotools_recipe_creation(self):
74 req = 'https://github.com/rdfa/librdfa' 69 req = 'https://github.com/rdfa/librdfa'
75 recipe = "librdfa" 70 recipe = "librdfa"
@@ -81,7 +76,6 @@ class DevtoolTest(OESDKExtTestCase):
81 76
82 @OETestID(1609) 77 @OETestID(1609)
83 @OETestDepends(['test_devtool_location']) 78 @OETestDepends(['test_devtool_location'])
84 @skipIfNotDataVar('SDK_INCLUDE_TOOLCHAIN', '1', 'SDK does not include toolchain')
85 def test_devtool_kernelmodule(self): 79 def test_devtool_kernelmodule(self):
86 docfile = 'https://github.com/umlaeute/v4l2loopback.git' 80 docfile = 'https://github.com/umlaeute/v4l2loopback.git'
87 recipe = 'v4l2loopback-driver' 81 recipe = 'v4l2loopback-driver'
@@ -93,7 +87,6 @@ class DevtoolTest(OESDKExtTestCase):
93 87
94 @OETestID(1610) 88 @OETestID(1610)
95 @OETestDepends(['test_devtool_location']) 89 @OETestDepends(['test_devtool_location'])
96 @skipIfNotDataVar('SDK_INCLUDE_TOOLCHAIN', '1', 'SDK does not include toolchain')
97 def test_recipes_for_nodejs(self): 90 def test_recipes_for_nodejs(self):
98 package_nodejs = "npm://registry.npmjs.org;name=winston;version=2.2.0" 91 package_nodejs = "npm://registry.npmjs.org;name=winston;version=2.2.0"
99 self._run('devtool add %s ' % package_nodejs) 92 self._run('devtool add %s ' % package_nodejs)