summaryrefslogtreecommitdiffstats
path: root/meta/lib
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2018-07-25 13:39:40 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-07-25 16:48:13 +0100
commitf2d32bdf3f27a9ef62fe3abb7fdd2e04ab84b5f3 (patch)
treef6ab7d761b36be0f3869d8122a15bdf5678321c6 /meta/lib
parentb54cdaea7844ee3bf0c39eb97cc7c4c17ed5818c (diff)
downloadopenembedded-core-contrib-f2d32bdf3f27a9ef62fe3abb7fdd2e04ab84b5f3.tar.gz
openembedded-core-contrib-f2d32bdf3f27a9ef62fe3abb7fdd2e04ab84b5f3.tar.bz2
openembedded-core-contrib-f2d32bdf3f27a9ef62fe3abb7fdd2e04ab84b5f3.zip
selftest/bblayers: Place the test layer directory in builddir
Placing the layer in meta means the directory is in an unclean state which may influence other tests. Use our build directory instead since we 'own' that. This helps keep oe-selftest parallelisation clean. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
-rw-r--r--meta/lib/oeqa/selftest/cases/bblayers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/selftest/cases/bblayers.py b/meta/lib/oeqa/selftest/cases/bblayers.py
index 3448ae1999..447c54b7e6 100644
--- a/meta/lib/oeqa/selftest/cases/bblayers.py
+++ b/meta/lib/oeqa/selftest/cases/bblayers.py
@@ -88,7 +88,7 @@ class BitbakeLayers(OESelftestTestCase):
def test_bitbakelayers_createlayer(self):
priority = 10
layername = 'test-bitbakelayer-layercreate'
- layerpath = os.path.join(get_bb_var('COREBASE'), layername)
+ layerpath = os.path.join(self.builddir, layername)
self.assertFalse(os.path.exists(layerpath), '%s should not exist at this point in time' % layerpath)
result = runCmd('bitbake-layers create-layer --priority=%d %s' % (priority, layerpath))
self.track_for_cleanup(layerpath)