diff options
author | Alejandro Hernandez Samaniego <alejandro@enedino.org> | 2023-02-01 13:13:22 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-02-02 10:27:30 +0000 |
commit | 61c35514cfd27dda045735695f8960126e0704b5 (patch) | |
tree | d65014510b6586cbe58355f8c855bcfef78d90ac /meta/classes-recipe/testimage.bbclass | |
parent | 4b85b092133dc62057b92c2390e7020848d256f5 (diff) | |
download | poky-61c35514cfd27dda045735695f8960126e0704b5.tar.gz |
testimage: Fix error message to reflect new syntax
(From OE-Core rev: ec73d19d78e8f30ff9b817490c23bcdf8ea47c86)
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>
Diffstat (limited to 'meta/classes-recipe/testimage.bbclass')
-rw-r--r-- | meta/classes-recipe/testimage.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes-recipe/testimage.bbclass b/meta/classes-recipe/testimage.bbclass index 5cc408b0c4..df22bb2344 100644 --- a/meta/classes-recipe/testimage.bbclass +++ b/meta/classes-recipe/testimage.bbclass | |||
@@ -236,7 +236,7 @@ def testimage_main(d): | |||
236 | with open(tdname, "r") as f: | 236 | with open(tdname, "r") as f: |
237 | td = json.load(f) | 237 | td = json.load(f) |
238 | except FileNotFoundError as err: | 238 | except FileNotFoundError as err: |
239 | bb.fatal('File %s not found (%s).\nHave you built the image with INHERIT += "testimage" in the conf/local.conf?' % (tdname, err)) | 239 | bb.fatal('File %s not found (%s).\nHave you built the image with IMAGE_CLASSES += "testimage" in the conf/local.conf?' % (tdname, err)) |
240 | 240 | ||
241 | # Some variables need to be updates (mostly paths) with the | 241 | # Some variables need to be updates (mostly paths) with the |
242 | # ones of the current environment because some tests require them. | 242 | # ones of the current environment because some tests require them. |