mirror of
https://git.yoctoproject.org/poky
synced 2026-06-03 01:40:07 +00:00
testimage: Fix error message to reflect new syntax
(From OE-Core rev: 7b37e52d95cea7759e7302afce99165b127b4abb) 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>
This commit is contained in:
committed by
Richard Purdie
parent
27b8dc45e8
commit
39d2f28d27
@@ -236,7 +236,7 @@ def testimage_main(d):
|
|||||||
with open(tdname, "r") as f:
|
with open(tdname, "r") as f:
|
||||||
td = json.load(f)
|
td = json.load(f)
|
||||||
except FileNotFoundError as err:
|
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
|
# Some variables need to be updates (mostly paths) with the
|
||||||
# ones of the current environment because some tests require them.
|
# ones of the current environment because some tests require them.
|
||||||
|
|||||||
Reference in New Issue
Block a user