summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Hernandez Samaniego <alejandro@enedino.org>2023-02-01 13:13:22 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-02-15 21:46:56 +0000
commita05eb327e1c1f373023c39bd3c31b6f97e5d0cfe (patch)
treee3179920eabe76fc8f9d5ff02179ddbf8efad49c
parentc30a4e5a04a6ca0e6ad633eb10bb28e593ea9377 (diff)
downloadpoky-a05eb327e1c1f373023c39bd3c31b6f97e5d0cfe.tar.gz
testimage: Fix error message to reflect new syntax
(From OE-Core rev: 03eced200a69ee64cb0efdca164e0d287314beac) Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit ec73d19d78e8f30ff9b817490c23bcdf8ea47c86) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/testimage.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/testimage.bbclass b/meta/classes/testimage.bbclass
index 8ffaeab284..34173ce68d 100644
--- a/meta/classes/testimage.bbclass
+++ b/meta/classes/testimage.bbclass
@@ -240,7 +240,7 @@ def testimage_main(d):
240 with open(tdname, "r") as f: 240 with open(tdname, "r") as f:
241 td = json.load(f) 241 td = json.load(f)
242 except FileNotFoundError as err: 242 except FileNotFoundError as err:
243 bb.fatal('File %s not found (%s).\nHave you built the image with INHERIT += "testimage" in the conf/local.conf?' % (tdname, err)) 243 bb.fatal('File %s not found (%s).\nHave you built the image with IMAGE_CLASSES += "testimage" in the conf/local.conf?' % (tdname, err))
244 244
245 # Some variables need to be updates (mostly paths) with the 245 # Some variables need to be updates (mostly paths) with the
246 # ones of the current environment because some tests require them. 246 # ones of the current environment because some tests require them.