]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
oeqa/selftest/recipetool: remove left over from development
authorJulien Stephan <jstephan@baylibre.com>
Mon, 11 Dec 2023 15:48:49 +0000 (16:48 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 13 Dec 2023 11:34:07 +0000 (11:34 +0000)
Remove leftover code needed for development that was unintentionally
committed

Signed-off-by: Julien Stephan <jstephan@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
meta/lib/oeqa/selftest/cases/recipetool.py

index 233912b4c4d669289e747e57d7c6dd3febc09b75..e0e3dff484be46519fff5b5b5409c67c21bd1eb9 100644 (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)