mirror of
https://git.yoctoproject.org/poky
synced 2026-09-19 00:49:33 +02:00
ref-manual: Updated testimage and testsdk class descriptions.
I added notes indicating that the best practice for automated testing is to inherit these classes by using the IMAGE_CLASSES variable instead of the INHERIT variable. (From yocto-docs rev: 8f4765db897c20f0011ea65f62d6b45495d313d2) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
01c64b6aa1
commit
53fa948ae3
@@ -3502,6 +3502,14 @@ This check was removed for YP 2.3 release
|
|||||||
The classes handle loading the tests and starting the image.
|
The classes handle loading the tests and starting the image.
|
||||||
To use the classes, you need to perform steps to set up the
|
To use the classes, you need to perform steps to set up the
|
||||||
environment.
|
environment.
|
||||||
|
<note><title>Tip</title>
|
||||||
|
Best practices include using
|
||||||
|
<link linkend='var-IMAGE_CLASSES'><filename>IMAGE_CLASSES</filename></link>
|
||||||
|
rather than
|
||||||
|
<link linkend='var-INHERIT'><filename>INHERIT</filename></link> to
|
||||||
|
inherit the <filename>testimage</filename> class for automated
|
||||||
|
image testing.
|
||||||
|
</note>
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
@@ -3541,6 +3549,14 @@ This check was removed for YP 2.3 release
|
|||||||
<literallayout class='monospaced'>
|
<literallayout class='monospaced'>
|
||||||
$ bitbake -c testsdk image
|
$ bitbake -c testsdk image
|
||||||
</literallayout>
|
</literallayout>
|
||||||
|
<note><title>Tip</title>
|
||||||
|
Best practices include using
|
||||||
|
<link linkend='var-IMAGE_CLASSES'><filename>IMAGE_CLASSES</filename></link>
|
||||||
|
rather than
|
||||||
|
<link linkend='var-INHERIT'><filename>INHERIT</filename></link> to
|
||||||
|
inherit the <filename>testsdk</filename> class for automated
|
||||||
|
SDK testing.
|
||||||
|
</note>
|
||||||
</para>
|
</para>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user