]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
testimage: Fix error message to reflect new syntax
authorAlejandro Hernandez Samaniego <alejandro@enedino.org>
Wed, 1 Feb 2023 20:13:22 +0000 (13:13 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 2 Feb 2023 10:26:57 +0000 (10:26 +0000)
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>
meta/classes-recipe/testimage.bbclass

index 5cc408b0c47b64620ced7f929700429cf60a8cad..df22bb2344aaf42b0a8ff5c1f1b259cc25d179bb 100644 (file)
@@ -236,7 +236,7 @@ def testimage_main(d):
         with open(tdname, "r") as f:
             td = json.load(f)
     except FileNotFoundError as err:
-        bb.fatal('File %s not found (%s).\nHave you built the image with INHERIT += "testimage" in the conf/local.conf?' % (tdname, err))
+        bb.fatal('File %s not found (%s).\nHave you built the image with IMAGE_CLASSES += "testimage" in the conf/local.conf?' % (tdname, err))
 
     # Some variables need to be updates (mostly paths) with the
     # ones of the current environment because some tests require them.