mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 21:09:03 +02:00
ref-manual: remove reference to testimage-auto class
testimage-auto was removed in the thud release. (From yocto-docs rev: 618351169c09470280aeee53a63aba88788efc4b) Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
335a230a35
commit
c29eb10e31
|
@ -3048,7 +3048,7 @@ The following steps describe how to set up the AUH utility:
|
||||||
your build directory.
|
your build directory.
|
||||||
|
|
||||||
- If you want to enable testing through the
|
- If you want to enable testing through the
|
||||||
:ref:`testimage <ref-classes-testimage*>`
|
:ref:`testimage <ref-classes-testimage>`
|
||||||
class, which is optional, you need to have the following set in
|
class, which is optional, you need to have the following set in
|
||||||
your ``conf/local.conf`` file::
|
your ``conf/local.conf`` file::
|
||||||
|
|
||||||
|
@ -8893,7 +8893,7 @@ You can start the tests automatically or manually:
|
||||||
|
|
||||||
- *Manually running tests:* To manually run the tests, first globally
|
- *Manually running tests:* To manually run the tests, first globally
|
||||||
inherit the
|
inherit the
|
||||||
:ref:`testimage <ref-classes-testimage*>` class
|
:ref:`testimage <ref-classes-testimage>` class
|
||||||
by editing your ``local.conf`` file::
|
by editing your ``local.conf`` file::
|
||||||
|
|
||||||
INHERIT += "testimage"
|
INHERIT += "testimage"
|
||||||
|
|
|
@ -240,7 +240,7 @@ Automated Image Testing
|
||||||
-----------------------
|
-----------------------
|
||||||
|
|
||||||
A new automated image testing framework has been added through the
|
A new automated image testing framework has been added through the
|
||||||
:ref:`ref-classes-testimage*` classes. This
|
:ref:`ref-classes-testimage` classes. This
|
||||||
framework replaces the older ``imagetest-qemu`` framework.
|
framework replaces the older ``imagetest-qemu`` framework.
|
||||||
|
|
||||||
You can learn more about performing automated image tests in the
|
You can learn more about performing automated image tests in the
|
||||||
|
|
|
@ -319,7 +319,7 @@ This section provides information about automatic testing changes:
|
||||||
practices now dictate that you use the
|
practices now dictate that you use the
|
||||||
:term:`IMAGE_CLASSES` variable rather than the
|
:term:`IMAGE_CLASSES` variable rather than the
|
||||||
:term:`INHERIT` variable when you inherit the
|
:term:`INHERIT` variable when you inherit the
|
||||||
:ref:`testimage <ref-classes-testimage*>` and
|
:ref:`testimage <ref-classes-testimage>` and
|
||||||
:ref:`testsdk <ref-classes-testsdk>` classes used for automatic
|
:ref:`testsdk <ref-classes-testsdk>` classes used for automatic
|
||||||
testing.
|
testing.
|
||||||
|
|
||||||
|
|
|
@ -1014,7 +1014,7 @@ processing includes creation of a manifest file and optimizations.
|
||||||
The manifest file (``.manifest``) resides in the same directory as the
|
The manifest file (``.manifest``) resides in the same directory as the
|
||||||
root filesystem image. This file lists out, line-by-line, the installed
|
root filesystem image. This file lists out, line-by-line, the installed
|
||||||
packages. The manifest file is useful for the
|
packages. The manifest file is useful for the
|
||||||
:ref:`testimage <ref-classes-testimage*>` class,
|
:ref:`testimage <ref-classes-testimage>` class,
|
||||||
for example, to determine whether or not to run specific tests. See the
|
for example, to determine whether or not to run specific tests. See the
|
||||||
:term:`IMAGE_MANIFEST`
|
:term:`IMAGE_MANIFEST`
|
||||||
variable for additional information.
|
variable for additional information.
|
||||||
|
|
|
@ -2768,12 +2768,12 @@ session needs to be started. For example, the
|
||||||
:ref:`devshell <ref-classes-devshell>` class all use the ``terminal``
|
:ref:`devshell <ref-classes-devshell>` class all use the ``terminal``
|
||||||
class.
|
class.
|
||||||
|
|
||||||
.. _ref-classes-testimage*:
|
.. _ref-classes-testimage:
|
||||||
|
|
||||||
``testimage*.bbclass``
|
``testimage.bbclass``
|
||||||
======================
|
=====================
|
||||||
|
|
||||||
The ``testimage*`` classes support running automated tests against
|
The ``testimage`` class supports running automated tests against
|
||||||
images using QEMU and on actual hardware. The classes handle loading the
|
images using QEMU and on actual hardware. The classes handle loading the
|
||||||
tests and starting the image. To use the classes, you need to perform
|
tests and starting the image. To use the classes, you need to perform
|
||||||
steps to set up the environment.
|
steps to set up the environment.
|
||||||
|
@ -2787,14 +2787,15 @@ steps to set up the environment.
|
||||||
The tests are commands that run on the target system over ``ssh``. Each
|
The tests are commands that run on the target system over ``ssh``. Each
|
||||||
test is written in Python and makes use of the ``unittest`` module.
|
test is written in Python and makes use of the ``unittest`` module.
|
||||||
|
|
||||||
The ``testimage.bbclass`` runs tests on an image when called using the
|
The ``testimage`` class runs tests on an image when called using the
|
||||||
following::
|
following::
|
||||||
|
|
||||||
$ bitbake -c testimage image
|
$ bitbake -c testimage image
|
||||||
|
|
||||||
The ``testimage-auto`` class
|
Alternatively, if you wish to have tests automatically run for each image
|
||||||
runs tests on an image after the image is constructed (i.e.
|
after it is built, you can set :term:`TESTIMAGE_AUTO`::
|
||||||
:term:`TESTIMAGE_AUTO` must be set to "1").
|
|
||||||
|
TESTIMAGE_AUTO = "1"
|
||||||
|
|
||||||
For information on how to enable, run, and create new tests, see the
|
For information on how to enable, run, and create new tests, see the
|
||||||
":ref:`dev-manual/common-tasks:performing automated runtime testing`"
|
":ref:`dev-manual/common-tasks:performing automated runtime testing`"
|
||||||
|
|
|
@ -127,7 +127,7 @@ consists of the following pieces:
|
||||||
an ARM target, did the build produce ARM binaries. If, for example,
|
an ARM target, did the build produce ARM binaries. If, for example,
|
||||||
the build produced PPC binaries then there is a problem.
|
the build produced PPC binaries then there is a problem.
|
||||||
|
|
||||||
- :ref:`ref-classes-testimage*`: This class
|
- :ref:`ref-classes-testimage`: This class
|
||||||
performs runtime testing of images after they are built. The tests
|
performs runtime testing of images after they are built. The tests
|
||||||
are usually used with :doc:`QEMU </dev-manual/qemu>`
|
are usually used with :doc:`QEMU </dev-manual/qemu>`
|
||||||
to boot the images and check the combined runtime result boot
|
to boot the images and check the combined runtime result boot
|
||||||
|
|
|
@ -8300,7 +8300,7 @@ system and gives an overview of their function and contents.
|
||||||
on enabling, running, and writing these tests, see the
|
on enabling, running, and writing these tests, see the
|
||||||
":ref:`dev-manual/common-tasks:performing automated runtime testing`"
|
":ref:`dev-manual/common-tasks:performing automated runtime testing`"
|
||||||
section in the Yocto Project Development Tasks Manual and the
|
section in the Yocto Project Development Tasks Manual and the
|
||||||
":ref:`ref-classes-testimage*`" section.
|
":ref:`ref-classes-testimage`" section.
|
||||||
|
|
||||||
:term:`THISDIR`
|
:term:`THISDIR`
|
||||||
The directory in which the file BitBake is currently parsing is
|
The directory in which the file BitBake is currently parsing is
|
||||||
|
|
|
@ -132,8 +132,8 @@ the following types of tests:
|
||||||
|
|
||||||
$ bitbake image -c testimage
|
$ bitbake image -c testimage
|
||||||
|
|
||||||
The tests utilize the :ref:`testimage* <ref-classes-testimage*>`
|
The tests utilize the :ref:`testimage <ref-classes-testimage>`
|
||||||
classes and the :ref:`ref-tasks-testimage` task.
|
class and the :ref:`ref-tasks-testimage` task.
|
||||||
|
|
||||||
- *Layer Testing:* The Autobuilder has the possibility to test whether
|
- *Layer Testing:* The Autobuilder has the possibility to test whether
|
||||||
specific layers work with the test of the system. The layers tested
|
specific layers work with the test of the system. The layers tested
|
||||||
|
|
Loading…
Reference in New Issue
Block a user