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>
This commit is contained in:
Jérémy Rosen 2023-10-10 15:51:40 +02:00 committed by Richard Purdie
parent 884c37f6fd
commit 381ef628fa
2 changed files with 14 additions and 0 deletions

View File

@ -1480,6 +1480,9 @@ Here are the tests you can list with the :term:`WARN_QA` and
also inherits :ref:`ref-classes-features_check` in order for the
requirement to actually work.
- ``unimplemented-ptest:`` Checks that ptests are implemented for upstream
tests.
- ``unlisted-pkg-lics:`` Checks that all declared licenses applying
for a package are also declared on the recipe level (i.e. any license
in ``LICENSE:*`` should appear in :term:`LICENSE`).

View File

@ -789,6 +789,17 @@ Errors and Warnings
use a relative path rather than an absolute one, or to pick up the path from
runtime configuration or environment variables.
.. _qa-check-unimplemented-ptest:
- ``<tool> tests detected [unimplemented-ptest]``
This check will detect if the source of the package contains some
upstream-provided tests and, if so, that ptests are implemented for this
recipe. See the ":ref:`dev-manual/packages:testing packages with ptest`"
section in the Yocto Project Development Tasks Manual. See also the
":ref:`ref-classes-ptest`" section.
Configuring and Disabling QA Checks
===================================