diff options
author | Scott Rifenbark <srifenbark@gmail.com> | 2018-10-30 12:14:55 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-12-27 22:54:54 +0000 |
commit | c5ba99bc063f6562207e1249a1dd83e19eb6dc5b (patch) | |
tree | d37b6eaeed1bbe9a8903e8f45de614e34be1740b /documentation | |
parent | 400d491e8d9d2ac0623fe491c3795af3e12a1621 (diff) | |
download | poky-c5ba99bc063f6562207e1249a1dd83e19eb6dc5b.tar.gz |
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: 70e18e93e96f283ae183f5f4468859bfca37c581)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/ref-manual/ref-classes.xml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/documentation/ref-manual/ref-classes.xml b/documentation/ref-manual/ref-classes.xml index d2f5c3ebc1..4cbb9c30c0 100644 --- a/documentation/ref-manual/ref-classes.xml +++ b/documentation/ref-manual/ref-classes.xml | |||
@@ -3502,6 +3502,14 @@ This check was removed for YP 2.3 release | |||
3502 | The classes handle loading the tests and starting the image. | 3502 | The classes handle loading the tests and starting the image. |
3503 | To use the classes, you need to perform steps to set up the | 3503 | To use the classes, you need to perform steps to set up the |
3504 | environment. | 3504 | environment. |
3505 | <note><title>Tip</title> | ||
3506 | Best practices include using | ||
3507 | <link linkend='var-IMAGE_CLASSES'><filename>IMAGE_CLASSES</filename></link> | ||
3508 | rather than | ||
3509 | <link linkend='var-INHERIT'><filename>INHERIT</filename></link> to | ||
3510 | inherit the <filename>testimage</filename> class for automated | ||
3511 | image testing. | ||
3512 | </note> | ||
3505 | </para> | 3513 | </para> |
3506 | 3514 | ||
3507 | <para> | 3515 | <para> |
@@ -3541,6 +3549,14 @@ This check was removed for YP 2.3 release | |||
3541 | <literallayout class='monospaced'> | 3549 | <literallayout class='monospaced'> |
3542 | $ bitbake -c testsdk image | 3550 | $ bitbake -c testsdk image |
3543 | </literallayout> | 3551 | </literallayout> |
3552 | <note><title>Tip</title> | ||
3553 | Best practices include using | ||
3554 | <link linkend='var-IMAGE_CLASSES'><filename>IMAGE_CLASSES</filename></link> | ||
3555 | rather than | ||
3556 | <link linkend='var-INHERIT'><filename>INHERIT</filename></link> to | ||
3557 | inherit the <filename>testsdk</filename> class for automated | ||
3558 | SDK testing. | ||
3559 | </note> | ||
3544 | </para> | 3560 | </para> |
3545 | </section> | 3561 | </section> |
3546 | 3562 | ||