mirror of
https://git.yoctoproject.org/poky
synced 2026-09-12 15:49:36 +02:00
ref-manual/classes.rst: document the ptest-python-pytest class and variables
Add documentation for the ptest-python-pytest class, and the PTEST_PYTEST_DIR variable which can be overriden. (From yocto-docs rev: 1abee62c2b9f32dfa42782893940f211db930b4c) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
498666694f
commit
7e822e13de
@@ -7110,6 +7110,16 @@ system and gives an overview of their function and contents.
|
||||
at build time should be done by adding "ptest" to (or removing it
|
||||
from) :term:`DISTRO_FEATURES`.
|
||||
|
||||
:term:`PTEST_PYTEST_DIR`
|
||||
Within the :ref:`ref-classes-ptest-python-pytest` class, the
|
||||
:term:`PTEST_PYTEST_DIR` variable represents the path within the source
|
||||
tree of a Python package holding the unit tests to be tested with the
|
||||
`pytest <https://docs.pytest.org>`__ framework. The default value for this
|
||||
variable is ``tests``.
|
||||
|
||||
For more information, see
|
||||
the :ref:`ref-classes-ptest-python-pytest` class documentation.
|
||||
|
||||
:term:`PV`
|
||||
The version of the recipe. The version is normally extracted from the
|
||||
recipe filename. For example, if the recipe is named
|
||||
|
||||
Reference in New Issue
Block a user