diff options
author | Trevor Gamblin <tgamblin@baylibre.com> | 2023-10-03 11:17:41 -0400 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2023-10-18 05:13:24 -1000 |
commit | fbf88236e3bb6c6c7f9da80901b6b88a92211f67 (patch) | |
tree | 074632eb225c3f4e2d618eb98e7f63b713b0ba5c /documentation/dev-manual/runtime-testing.rst | |
parent | 7b43af7ad4d2833f8a8615f62edcf4ec35bed98f (diff) | |
download | poky-fbf88236e3bb6c6c7f9da80901b6b88a92211f67.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: 40d82ec5f55c2353ef6f052e8460a6003fd903f4)
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'documentation/dev-manual/runtime-testing.rst')
-rw-r--r-- | documentation/dev-manual/runtime-testing.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/documentation/dev-manual/runtime-testing.rst b/documentation/dev-manual/runtime-testing.rst index a5d8502fbb..177f781b62 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 | ||