summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTrevor Gamblin <tgamblin@baylibre.com>2023-10-03 11:17:41 -0400
committerSteve Sakoman <steve@sakoman.com>2023-10-13 04:31:05 -1000
commit7988bf713ae45b14e7177ed8496b764a4b9a5a4a (patch)
tree836e530c7547715f9da7450799d168505ee33667
parent9a9aa4bd539db8a2b4ba02ddaef461546d2c9dc4 (diff)
downloadpoky-7988bf713ae45b14e7177ed8496b764a4b9a5a4a.tar.gz
dev-manual: fix testimage usage instructions
The proper way to inherit the testimage class is now IMAGE_CLASSES += "testimage" so change lines with 'INHERIT += "testimage"' to match. This makes the dev-manual consistent with the migration guide, which already specifies that the old way causes an error. (From yocto-docs rev: 4d660551a6547ffe216e53402759baef424c4da2) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
-rw-r--r--documentation/dev-manual/runtime-testing.rst4
-rw-r--r--documentation/dev-manual/upgrading-recipes.rst2
2 files changed, 3 insertions, 3 deletions
diff --git a/documentation/dev-manual/runtime-testing.rst b/documentation/dev-manual/runtime-testing.rst
index c5c5653bef..af3fe2c1dd 100644
--- a/documentation/dev-manual/runtime-testing.rst
+++ b/documentation/dev-manual/runtime-testing.rst
@@ -229,7 +229,7 @@ The final thing you need to do when setting :term:`TEST_TARGET` to
229 statements in your ``local.conf`` file:: 229 statements in your ``local.conf`` file::
230 230
231 IMAGE_FSTYPES += "tar.gz" 231 IMAGE_FSTYPES += "tar.gz"
232 INHERIT += "testimage" 232 IMAGE_CLASSES += "testimage"
233 TEST_TARGET = "SystemdbootTarget" 233 TEST_TARGET = "SystemdbootTarget"
234 TEST_TARGET_IP = "192.168.2.3" 234 TEST_TARGET_IP = "192.168.2.3"
235 235
@@ -335,7 +335,7 @@ You can start the tests automatically or manually:
335 inherit the :ref:`ref-classes-testimage` class by editing your 335 inherit the :ref:`ref-classes-testimage` class by editing your
336 ``local.conf`` file:: 336 ``local.conf`` file::
337 337
338 INHERIT += "testimage" 338 IMAGE_CLASSES += "testimage"
339 339
340 Next, use BitBake to run the tests:: 340 Next, use BitBake to run the tests::
341 341
diff --git a/documentation/dev-manual/upgrading-recipes.rst b/documentation/dev-manual/upgrading-recipes.rst
index 13133fddcf..33a7ca39dd 100644
--- a/documentation/dev-manual/upgrading-recipes.rst
+++ b/documentation/dev-manual/upgrading-recipes.rst
@@ -117,7 +117,7 @@ The following steps describe how to set up the AUH utility:
117 class, which is optional, you need to have the following set in 117 class, which is optional, you need to have the following set in
118 your ``conf/local.conf`` file:: 118 your ``conf/local.conf`` file::
119 119
120 INHERIT += "testimage" 120 IMAGE_CLASSES += "testimage"
121 121
122 .. note:: 122 .. note::
123 123