summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/selftest/cases/recipetool.py
diff options
context:
space:
mode:
authorJulien Stephan <jstephan@baylibre.com>2023-12-11 16:48:49 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-12-13 11:34:27 +0000
commit94c4d9e35f14a2d9cac400dd283cfcdeea0f505a (patch)
tree3e44282baa50d166f55330701e2cdafa2b61ef10 /meta/lib/oeqa/selftest/cases/recipetool.py
parentbb0566eafd25f700b6e4a077b34e56a12fb47638 (diff)
downloadpoky-94c4d9e35f14a2d9cac400dd283cfcdeea0f505a.tar.gz
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>
Diffstat (limited to 'meta/lib/oeqa/selftest/cases/recipetool.py')
-rw-r--r--meta/lib/oeqa/selftest/cases/recipetool.py10
1 files changed, 4 insertions, 6 deletions
diff --git a/meta/lib/oeqa/selftest/cases/recipetool.py b/meta/lib/oeqa/selftest/cases/recipetool.py
index 233912b4c4..e0e3dff484 100644
--- a/meta/lib/oeqa/selftest/cases/recipetool.py
+++ b/meta/lib/oeqa/selftest/cases/recipetool.py
@@ -1272,12 +1272,10 @@ class RecipetoolAppendsrcTests(RecipetoolAppendsrcBase):
1272 result = runCmd('bitbake-layers show-layers') 1272 result = runCmd('bitbake-layers show-layers')
1273 layerrecipe = None 1273 layerrecipe = None
1274 for line in result.output.splitlines()[3:]: 1274 for line in result.output.splitlines()[3:]:
1275 with open("/tmp/juju.txt", "a") as file: 1275 layer = line.split()[1]
1276 layer = line.split()[1] 1276 if layer in recipefile:
1277 print(layer, file=file) 1277 layerrecipe = layer
1278 if layer in recipefile: 1278 break
1279 layerrecipe = layer
1280 break
1281 self.assertTrue(layerrecipe, 'Unable to find the layer containing %s' % testrecipe) 1279 self.assertTrue(layerrecipe, 'Unable to find the layer containing %s' % testrecipe)
1282 cmd = 'recipetool appendsrcfile -u %s %s %s' % (layerrecipe, testrecipe, self.testfile) 1280 cmd = 'recipetool appendsrcfile -u %s %s %s' % (layerrecipe, testrecipe, self.testfile)
1283 result = runCmd(cmd) 1281 result = runCmd(cmd)