diff options
Diffstat (limited to 'poky/meta/lib/oeqa/selftest/cases/devtool.py')
-rw-r--r-- | poky/meta/lib/oeqa/selftest/cases/devtool.py | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/poky/meta/lib/oeqa/selftest/cases/devtool.py b/poky/meta/lib/oeqa/selftest/cases/devtool.py index 0185e670a..4a791ff40 100644 --- a/poky/meta/lib/oeqa/selftest/cases/devtool.py +++ b/poky/meta/lib/oeqa/selftest/cases/devtool.py @@ -520,10 +520,6 @@ class DevtoolAddTests(DevtoolBase): self._test_recipe_contents(recipefile, checkvars, []) def test_devtool_add_npm(self): - collections = get_bb_var('BBFILE_COLLECTIONS').split() - if "openembedded-layer" not in collections: - self.skipTest("Test needs meta-oe for nodejs") - pn = 'savoirfairelinux-node-server-example' pv = '1.0.0' url = 'npm://registry.npmjs.org;package=@savoirfairelinux/node-server-example;version=' + pv @@ -784,26 +780,6 @@ class DevtoolModifyTests(DevtoolBase): self._check_src_repo(tempdir) # This is probably sufficient - def test_devtool_modify_overrides(self): - # Try modifying a recipe with patches in overrides - tempdir = tempfile.mkdtemp(prefix='devtoolqa') - self.track_for_cleanup(tempdir) - self.track_for_cleanup(self.workspacedir) - self.add_command_to_tearDown('bitbake-layers remove-layer */workspace') - result = runCmd('devtool modify devtool-patch-overrides -x %s' % (tempdir)) - - self._check_src_repo(tempdir) - source = os.path.join(tempdir, "source") - def check(branch, expected): - runCmd('git -C %s checkout %s' % (tempdir, branch)) - with open(source, "rt") as f: - content = f.read() - self.assertEquals(content, expected) - check('devtool', 'This is a test for something\n') - check('devtool-no-overrides', 'This is a test for something\n') - check('devtool-override-qemuarm', 'This is a test for qemuarm\n') - check('devtool-override-qemux86', 'This is a test for qemux86\n') - class DevtoolUpdateTests(DevtoolBase): def test_devtool_update_recipe(self): |