Skip to contentSkip to conversation

Optimisation for eSDK tests

PATCH New Paul Eggleton 1 participant 2 messages Sep 13, 2016

lore
Share & tools
lore
#0 lore raw

cover Optimisation for eSDK tests

This should reduce the time taken to test the extensible SDK by many minutes. No doubt there are many other optimisations we could make but this is a start.

The following changes since commit 4d268abc2fc892c5d34449f78c8e9f2b1a9d6bac:

oeqa.runtime.smart: work around smart race issues (2016-09-09 12:12:17 +0100)

are available in the git repository at:

git://git.openembedded.org/openembedded-core-contrib paule/extsdk-test-fix
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=paule/extsdk-test-fix

Paul Eggleton (1):
oeqa/sdkext/devtool: use a smaller module to test node.js functionality

 meta/lib/oeqa/sdkext/devtool.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
2.5.5
#1 lore raw

PATCH 1/1 oeqa/sdkext/devtool: use a smaller module to test node.js functionality

The "forever" package, despite its innocent description, actually drags in a surprising number of dependencies and as a result the nodejs test takes up to 10 minutes as a result. Pick a different example with a much more reasonable set of dependencies.

Addresses part of [YOCTO #10254].

---
 meta/lib/oeqa/sdkext/devtool.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/lib/oeqa/sdkext/devtool.py +1 -1
index ba12799..65f41f6 100644
@@ -91,7 +91,7 @@ class DevtoolTest(oeSDKExtTest):
     @testcase(1478)
     @skipUnlessPassed('test_devtool_location')
     def test_recipes_for_nodejs(self):
-        package_nodejs = "npm://registry.npmjs.org;name=forever;version=0.15.1"
+        package_nodejs = "npm://registry.npmjs.org;name=winston;version=2.2.0"
         self._run('devtool add %s ' % package_nodejs)
         try:
             self._run('devtool build %s ' % package_nodejs)
Signature · 1 line
2.5.5