diff options
Diffstat (limited to 'documentation/ref-manual/classes.rst')
-rw-r--r-- | documentation/ref-manual/classes.rst | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/documentation/ref-manual/classes.rst b/documentation/ref-manual/classes.rst index 6462a86dad..f24c579f16 100644 --- a/documentation/ref-manual/classes.rst +++ b/documentation/ref-manual/classes.rst | |||
@@ -2768,12 +2768,12 @@ session needs to be started. For example, the | |||
2768 | :ref:`devshell <ref-classes-devshell>` class all use the ``terminal`` | 2768 | :ref:`devshell <ref-classes-devshell>` class all use the ``terminal`` |
2769 | class. | 2769 | class. |
2770 | 2770 | ||
2771 | .. _ref-classes-testimage*: | 2771 | .. _ref-classes-testimage: |
2772 | 2772 | ||
2773 | ``testimage*.bbclass`` | 2773 | ``testimage.bbclass`` |
2774 | ====================== | 2774 | ===================== |
2775 | 2775 | ||
2776 | The ``testimage*`` classes support running automated tests against | 2776 | The ``testimage`` class supports running automated tests against |
2777 | images using QEMU and on actual hardware. The classes handle loading the | 2777 | images using QEMU and on actual hardware. The classes handle loading the |
2778 | tests and starting the image. To use the classes, you need to perform | 2778 | tests and starting the image. To use the classes, you need to perform |
2779 | steps to set up the environment. | 2779 | steps to set up the environment. |
@@ -2787,14 +2787,15 @@ steps to set up the environment. | |||
2787 | The tests are commands that run on the target system over ``ssh``. Each | 2787 | The tests are commands that run on the target system over ``ssh``. Each |
2788 | test is written in Python and makes use of the ``unittest`` module. | 2788 | test is written in Python and makes use of the ``unittest`` module. |
2789 | 2789 | ||
2790 | The ``testimage.bbclass`` runs tests on an image when called using the | 2790 | The ``testimage`` class runs tests on an image when called using the |
2791 | following:: | 2791 | following:: |
2792 | 2792 | ||
2793 | $ bitbake -c testimage image | 2793 | $ bitbake -c testimage image |
2794 | 2794 | ||
2795 | The ``testimage-auto`` class | 2795 | Alternatively, if you wish to have tests automatically run for each image |
2796 | runs tests on an image after the image is constructed (i.e. | 2796 | after it is built, you can set :term:`TESTIMAGE_AUTO`:: |
2797 | :term:`TESTIMAGE_AUTO` must be set to "1"). | 2797 | |
2798 | TESTIMAGE_AUTO = "1" | ||
2798 | 2799 | ||
2799 | For information on how to enable, run, and create new tests, see the | 2800 | For information on how to enable, run, and create new tests, see the |
2800 | ":ref:`dev-manual/common-tasks:performing automated runtime testing`" | 2801 | ":ref:`dev-manual/common-tasks:performing automated runtime testing`" |