diff options
-rw-r--r-- | documentation/ref-manual/classes.rst | 7 | ||||
-rw-r--r-- | documentation/ref-manual/variables.rst | 2 |
2 files changed, 4 insertions, 5 deletions
diff --git a/documentation/ref-manual/classes.rst b/documentation/ref-manual/classes.rst index 8b930fe3d2..59efcbe19a 100644 --- a/documentation/ref-manual/classes.rst +++ b/documentation/ref-manual/classes.rst | |||
@@ -2712,13 +2712,12 @@ section in the Yocto Project Development Tasks Manual. | |||
2712 | ``ptest-python-pytest`` | 2712 | ``ptest-python-pytest`` |
2713 | ======================= | 2713 | ======================= |
2714 | 2714 | ||
2715 | The :ref:`ref-classes-ptest-python-pytest` class can be used in Python-based | 2715 | The :ref:`ref-classes-ptest-python-pytest` class can be inherited in Python-based |
2716 | recipes to automatically configure the :ref:`ref-classes-ptest` class for Python | 2716 | recipes to automatically configure the :ref:`ref-classes-ptest` class for Python |
2717 | packages leveraging the `pytest <https://docs.pytest.org>`__ unit test framework. | 2717 | packages leveraging the `pytest <https://docs.pytest.org>`__ unit test framework. |
2718 | 2718 | ||
2719 | Within the recipe, the :term:`PTEST_PYTEST_DIR` variable can be overridden to | 2719 | Within the recipe, the :term:`PTEST_PYTEST_DIR` variable specifies the path to |
2720 | specify the path to the directory containing the tests (default value: | 2720 | the directory containing the tests that will be installed in :term:`D` by the |
2721 | ``tests``). Test contained in this directory are installed in :term:`D` by the | ||
2722 | :ref:`ref-tasks-install_ptest_base` task, as well as a specific ``run-ptest`` | 2721 | :ref:`ref-tasks-install_ptest_base` task, as well as a specific ``run-ptest`` |
2723 | script for this task. | 2722 | script for this task. |
2724 | 2723 | ||
diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index 62e339ed81..794440b9fd 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst | |||
@@ -7159,7 +7159,7 @@ system and gives an overview of their function and contents. | |||
7159 | :term:`PTEST_PYTEST_DIR` | 7159 | :term:`PTEST_PYTEST_DIR` |
7160 | Within the :ref:`ref-classes-ptest-python-pytest` class, the | 7160 | Within the :ref:`ref-classes-ptest-python-pytest` class, the |
7161 | :term:`PTEST_PYTEST_DIR` variable represents the path within the source | 7161 | :term:`PTEST_PYTEST_DIR` variable represents the path within the source |
7162 | tree of a Python package holding the unit tests to be tested with the | 7162 | tree of a Python package holding the unit tests to be run with the |
7163 | `pytest <https://docs.pytest.org>`__ framework. The default value for this | 7163 | `pytest <https://docs.pytest.org>`__ framework. The default value for this |
7164 | variable is ``tests``. | 7164 | variable is ``tests``. |
7165 | 7165 | ||