diff options
Diffstat (limited to 'documentation/ref-manual/ref-classes.xml')
| -rw-r--r-- | documentation/ref-manual/ref-classes.xml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/documentation/ref-manual/ref-classes.xml b/documentation/ref-manual/ref-classes.xml index 5d1e3ed1b4..5870d0f44a 100644 --- a/documentation/ref-manual/ref-classes.xml +++ b/documentation/ref-manual/ref-classes.xml | |||
| @@ -935,6 +935,33 @@ | |||
| 935 | </para> | 935 | </para> |
| 936 | </section> | 936 | </section> |
| 937 | 937 | ||
| 938 | <section id='ref-classes-testimage'> | ||
| 939 | <title><filename>testimage.bbclass</filename></title> | ||
| 940 | |||
| 941 | <para> | ||
| 942 | You can use this class to enable running a series of automated tests | ||
| 943 | for QEMU images. | ||
| 944 | The class handles loading the tests and starting the QEMU image. | ||
| 945 | </para> | ||
| 946 | |||
| 947 | <para> | ||
| 948 | To use the class, you need to perform steps to set up the | ||
| 949 | environment. | ||
| 950 | The tests are commands that run on the target system over | ||
| 951 | <filename>ssh</filename>. | ||
| 952 | they are written in Python and make use of the | ||
| 953 | <filename>unittest modulebuild</filename> software. | ||
| 954 | </para> | ||
| 955 | |||
| 956 | <para> | ||
| 957 | For information on how to enable, run, and create new tests, see the | ||
| 958 | "<ulink url='running-and-writing-tests-for-a-qemu-image'>Running and Writing Tests for a QEMU Image</ulink>" | ||
| 959 | section and the | ||
| 960 | <ulink url='https://wiki.yoctoproject.org/wiki/Image_tests'>Image Tests</ulink> | ||
| 961 | Wiki page. | ||
| 962 | </para> | ||
| 963 | </section> | ||
| 964 | |||
| 938 | <section id='ref-classes-others'> | 965 | <section id='ref-classes-others'> |
| 939 | <title>Other Classes</title> | 966 | <title>Other Classes</title> |
| 940 | 967 | ||
