mirror of
git://git.yoctoproject.org/poky
synced 2026-08-13 15:20:34 +00:00
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. (From OE-Core rev: f2d32bdf3f27a9ef62fe3abb7fdd2e04ab84b5f3) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
ce5cd33a8a
commit
ce76b71666
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user