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:
Julien Stephan
2023-12-11 16:48:49 +01:00
committed by Richard Purdie
parent bb0566eafd
commit 94c4d9e35f

View File

@@ -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)