Skip to contentSkip to conversation

testimage: Fix error message to reflect new syntax

PATCH New Alejandro Enedino Hernandez Samaniego 1 participant 1 message Feb 1, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 testimage: Fix error message to reflect new syntax

---
 meta/classes-recipe/testimage.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/classes-recipe/testimage.bbclass +1 -1
index 5cc408b0c4..df22bb2344 100644
@@ -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.
Signature · 1 line
2.34.1