mirror of
https://git.yoctoproject.org/poky
synced 2026-04-17 18:32:12 +02:00
oeqa/selftest/recipetool: remove left over from development
Remove leftover code needed for development that was unintentionally committed (From OE-Core rev: b9a11e6495a27164d095673915edddb2474fdbd7) Signed-off-by: Julien Stephan <jstephan@baylibre.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
bb0566eafd
commit
94c4d9e35f
@@ -1272,12 +1272,10 @@ class RecipetoolAppendsrcTests(RecipetoolAppendsrcBase):
|
||||
result = runCmd('bitbake-layers show-layers')
|
||||
layerrecipe = None
|
||||
for line in result.output.splitlines()[3:]:
|
||||
with open("/tmp/juju.txt", "a") as file:
|
||||
layer = line.split()[1]
|
||||
print(layer, file=file)
|
||||
if layer in recipefile:
|
||||
layerrecipe = layer
|
||||
break
|
||||
layer = line.split()[1]
|
||||
if layer in recipefile:
|
||||
layerrecipe = layer
|
||||
break
|
||||
self.assertTrue(layerrecipe, 'Unable to find the layer containing %s' % testrecipe)
|
||||
cmd = 'recipetool appendsrcfile -u %s %s %s' % (layerrecipe, testrecipe, self.testfile)
|
||||
result = runCmd(cmd)
|
||||
|
||||
Reference in New Issue
Block a user