summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2018-08-09 12:17:39 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-08-14 11:36:31 +0100
commitb5970ab6511ad8ca3004315830d8fd6ed66bcd89 (patch)
tree316f0331534882f5ae3fd5fcad9ba439495c3bc2 /meta
parent483143a38ec0ac7b12b9cdf3cd5ce79d8f20cb2f (diff)
downloadpoky-b5970ab6511ad8ca3004315830d8fd6ed66bcd89.tar.gz
oeqa/esdk/devtool: Drop OETestDepends usage
OETestDepends doesn't work with parallelism and in this case we don't really need this dependency, it would just short out some tests quickly in the rare case the esdk environment was broken. Currently this is masking tests which is a much worse problem and we can't make OETestDepends work reliably with parallelism so drop the dependencies. (From OE-Core rev: b3b1e1881240b8e2a32dd5c1dc3b7387f0819576) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/lib/oeqa/sdkext/cases/devtool.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/meta/lib/oeqa/sdkext/cases/devtool.py b/meta/lib/oeqa/sdkext/cases/devtool.py
index ea9051710a..0860e8d17c 100644
--- a/meta/lib/oeqa/sdkext/cases/devtool.py
+++ b/meta/lib/oeqa/sdkext/cases/devtool.py
@@ -6,7 +6,6 @@ import shutil
6import subprocess 6import subprocess
7 7
8from oeqa.sdkext.case import OESDKExtTestCase 8from oeqa.sdkext.case import OESDKExtTestCase
9from oeqa.core.decorator.depends import OETestDepends
10from oeqa.core.decorator.oeid import OETestID 9from oeqa.core.decorator.oeid import OETestID
11from oeqa.utils.httpserver import HTTPService 10from oeqa.utils.httpserver import HTTPService
12 11
@@ -45,28 +44,23 @@ class DevtoolTest(OESDKExtTestCase):
45 self.assertEqual(output.startswith(self.tc.sdk_dir), True, \ 44 self.assertEqual(output.startswith(self.tc.sdk_dir), True, \
46 msg="Seems that devtool isn't the eSDK one: %s" % output) 45 msg="Seems that devtool isn't the eSDK one: %s" % output)
47 46
48 @OETestDepends(['test_devtool_location'])
49 def test_devtool_add_reset(self): 47 def test_devtool_add_reset(self):
50 self._run('devtool add myapp %s' % self.myapp_dst) 48 self._run('devtool add myapp %s' % self.myapp_dst)
51 self._run('devtool reset myapp') 49 self._run('devtool reset myapp')
52 50
53 @OETestID(1605) 51 @OETestID(1605)
54 @OETestDepends(['test_devtool_location'])
55 def test_devtool_build_make(self): 52 def test_devtool_build_make(self):
56 self._test_devtool_build(self.myapp_dst) 53 self._test_devtool_build(self.myapp_dst)
57 54
58 @OETestID(1606) 55 @OETestID(1606)
59 @OETestDepends(['test_devtool_location'])
60 def test_devtool_build_esdk_package(self): 56 def test_devtool_build_esdk_package(self):
61 self._test_devtool_build_package(self.myapp_dst) 57 self._test_devtool_build_package(self.myapp_dst)
62 58
63 @OETestID(1607) 59 @OETestID(1607)
64 @OETestDepends(['test_devtool_location'])
65 def test_devtool_build_cmake(self): 60 def test_devtool_build_cmake(self):
66 self._test_devtool_build(self.myapp_cmake_dst) 61 self._test_devtool_build(self.myapp_cmake_dst)
67 62
68 @OETestID(1608) 63 @OETestID(1608)
69 @OETestDepends(['test_devtool_location'])
70 def test_extend_autotools_recipe_creation(self): 64 def test_extend_autotools_recipe_creation(self):
71 req = 'https://github.com/rdfa/librdfa' 65 req = 'https://github.com/rdfa/librdfa'
72 recipe = "librdfa" 66 recipe = "librdfa"
@@ -78,7 +72,6 @@ class DevtoolTest(OESDKExtTestCase):
78 self._run('devtool reset %s' % recipe) 72 self._run('devtool reset %s' % recipe)
79 73
80 @OETestID(1609) 74 @OETestID(1609)
81 @OETestDepends(['test_devtool_location'])
82 def test_devtool_kernelmodule(self): 75 def test_devtool_kernelmodule(self):
83 docfile = 'https://github.com/umlaeute/v4l2loopback.git' 76 docfile = 'https://github.com/umlaeute/v4l2loopback.git'
84 recipe = 'v4l2loopback-driver' 77 recipe = 'v4l2loopback-driver'
@@ -89,7 +82,6 @@ class DevtoolTest(OESDKExtTestCase):
89 self._run('devtool reset %s' % recipe) 82 self._run('devtool reset %s' % recipe)
90 83
91 @OETestID(1610) 84 @OETestID(1610)
92 @OETestDepends(['test_devtool_location'])
93 def test_recipes_for_nodejs(self): 85 def test_recipes_for_nodejs(self):
94 package_nodejs = "npm://registry.npmjs.org;name=winston;version=2.2.0" 86 package_nodejs = "npm://registry.npmjs.org;name=winston;version=2.2.0"
95 self._run('devtool add %s ' % package_nodejs) 87 self._run('devtool add %s ' % package_nodejs)