summaryrefslogtreecommitdiffstats
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:27 +0100
commitce76b71666c0300c1ece4a778df3341c7e363157 (patch)
treea970dc94eb7d74d85db0db7b6054e993bf802717
parentce5cd33a8a0064a21dce0e10cb93c6fd3e85acdd (diff)
downloadpoky-ce76b71666c0300c1ece4a778df3341c7e363157.tar.gz
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>
-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):
88 def test_bitbakelayers_createlayer(self): 88 def test_bitbakelayers_createlayer(self):
89 priority = 10 89 priority = 10
90 layername = 'test-bitbakelayer-layercreate' 90 layername = 'test-bitbakelayer-layercreate'
91 layerpath = os.path.join(get_bb_var('COREBASE'), layername) 91 layerpath = os.path.join(self.builddir, layername)
92 self.assertFalse(os.path.exists(layerpath), '%s should not exist at this point in time' % layerpath) 92 self.assertFalse(os.path.exists(layerpath), '%s should not exist at this point in time' % layerpath)
93 result = runCmd('bitbake-layers create-layer --priority=%d %s' % (priority, layerpath)) 93 result = runCmd('bitbake-layers create-layer --priority=%d %s' % (priority, layerpath))
94 self.track_for_cleanup(layerpath) 94 self.track_for_cleanup(layerpath)