diff options
author | Jérémy Rosen <jeremy.rosen@smile.fr> | 2023-10-10 15:51:40 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-10-20 15:07:07 +0100 |
commit | f35420ba71159c5e4cf51b8408f8bfd97be80115 (patch) | |
tree | 2a4056807fb80f4da77785a956beaf820ba1c811 | |
parent | fc0e384d191494216c1d566f4677e0510d3103c2 (diff) | |
download | poky-f35420ba71159c5e4cf51b8408f8bfd97be80115.tar.gz |
ref-manual: Add documentation for the unimplemented-ptest QA warning
(From yocto-docs rev: d90106ff2d905e457659acdb65a91ce5dcfdd05e)
Signed-off-by: Jérémy Rosen <jeremy.rosen@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | documentation/ref-manual/classes.rst | 3 | ||||
-rw-r--r-- | documentation/ref-manual/qa-checks.rst | 11 |
2 files changed, 14 insertions, 0 deletions
diff --git a/documentation/ref-manual/classes.rst b/documentation/ref-manual/classes.rst index 3f0d4844e8..c7a5e9a63a 100644 --- a/documentation/ref-manual/classes.rst +++ b/documentation/ref-manual/classes.rst | |||
@@ -1480,6 +1480,9 @@ Here are the tests you can list with the :term:`WARN_QA` and | |||
1480 | also inherits :ref:`ref-classes-features_check` in order for the | 1480 | also inherits :ref:`ref-classes-features_check` in order for the |
1481 | requirement to actually work. | 1481 | requirement to actually work. |
1482 | 1482 | ||
1483 | - ``unimplemented-ptest:`` Checks that ptests are implemented for upstream | ||
1484 | tests. | ||
1485 | |||
1483 | - ``unlisted-pkg-lics:`` Checks that all declared licenses applying | 1486 | - ``unlisted-pkg-lics:`` Checks that all declared licenses applying |
1484 | for a package are also declared on the recipe level (i.e. any license | 1487 | for a package are also declared on the recipe level (i.e. any license |
1485 | in ``LICENSE:*`` should appear in :term:`LICENSE`). | 1488 | in ``LICENSE:*`` should appear in :term:`LICENSE`). |
diff --git a/documentation/ref-manual/qa-checks.rst b/documentation/ref-manual/qa-checks.rst index 4a02e7206a..58526a0e57 100644 --- a/documentation/ref-manual/qa-checks.rst +++ b/documentation/ref-manual/qa-checks.rst | |||
@@ -789,6 +789,17 @@ Errors and Warnings | |||
789 | use a relative path rather than an absolute one, or to pick up the path from | 789 | use a relative path rather than an absolute one, or to pick up the path from |
790 | runtime configuration or environment variables. | 790 | runtime configuration or environment variables. |
791 | 791 | ||
792 | .. _qa-check-unimplemented-ptest: | ||
793 | |||
794 | - ``<tool> tests detected [unimplemented-ptest]`` | ||
795 | |||
796 | This check will detect if the source of the package contains some | ||
797 | upstream-provided tests and, if so, that ptests are implemented for this | ||
798 | recipe. See the ":ref:`dev-manual/packages:testing packages with ptest`" | ||
799 | section in the Yocto Project Development Tasks Manual. See also the | ||
800 | ":ref:`ref-classes-ptest`" section. | ||
801 | |||
802 | |||
792 | 803 | ||
793 | Configuring and Disabling QA Checks | 804 | Configuring and Disabling QA Checks |
794 | =================================== | 805 | =================================== |