ref-manual: Added a new entry for the testimage.bbclass.

(From yocto-docs rev: 05db9912f837d79c7da3411586248dcc78172985)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Scott Rifenbark 2013-09-20 12:02:37 -07:00 committed by Richard Purdie
parent 35ec4d2a93
commit 06cddebe6d
1 changed files with 27 additions and 0 deletions

View File

@ -935,6 +935,33 @@
</para>
</section>
<section id='ref-classes-testimage'>
<title><filename>testimage.bbclass</filename></title>
<para>
You can use this class to enable running a series of automated tests
for QEMU images.
The class handles loading the tests and starting the QEMU image.
</para>
<para>
To use the class, you need to perform steps to set up the
environment.
The tests are commands that run on the target system over
<filename>ssh</filename>.
they are written in Python and make use of the
<filename>unittest modulebuild</filename> software.
</para>
<para>
For information on how to enable, run, and create new tests, see the
"<ulink url='running-and-writing-tests-for-a-qemu-image'>Running and Writing Tests for a QEMU Image</ulink>"
section and the
<ulink url='https://wiki.yoctoproject.org/wiki/Image_tests'>Image Tests</ulink>
Wiki page.
</para>
</section>
<section id='ref-classes-others'>
<title>Other Classes</title>