mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 12:29:55 +00: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')
|
result = runCmd('bitbake-layers show-layers')
|
||||||
layerrecipe = None
|
layerrecipe = None
|
||||||
for line in result.output.splitlines()[3:]:
|
for line in result.output.splitlines()[3:]:
|
||||||
with open("/tmp/juju.txt", "a") as file:
|
layer = line.split()[1]
|
||||||
layer = line.split()[1]
|
if layer in recipefile:
|
||||||
print(layer, file=file)
|
layerrecipe = layer
|
||||||
if layer in recipefile:
|
break
|
||||||
layerrecipe = layer
|
|
||||||
break
|
|
||||||
self.assertTrue(layerrecipe, 'Unable to find the layer containing %s' % testrecipe)
|
self.assertTrue(layerrecipe, 'Unable to find the layer containing %s' % testrecipe)
|
||||||
cmd = 'recipetool appendsrcfile -u %s %s %s' % (layerrecipe, testrecipe, self.testfile)
|
cmd = 'recipetool appendsrcfile -u %s %s %s' % (layerrecipe, testrecipe, self.testfile)
|
||||||
result = runCmd(cmd)
|
result = runCmd(cmd)
|
||||||
|
|||||||
Reference in New Issue
Block a user