ref-manual: document PTEST_RUNNER_TIMEOUT variable
A message that is not in the archive (sent off-list or not yet received): [email protected]
Related oe-core submission:
https://lists.openembedded.org/g/openembedded-core/message/232111
Quoted 77 lines · Tim Orling via lists.yoctoproject.org
Add
PTEST_RUNNER_TIMEOUTto the variable glossary and mention it in the testimage class documentation.The variable was added to testimage.bbclass to control the per-suite timeout for ptest-runner during runtime testing. It defaults to 450 seconds and can be overridden in image recipes.
Signed-off-by Tim Orling <[email protected]>--- documentation/ref-manual/classes.rst | 5 +++++ documentation/ref-manual/variables.rst | 14 ++++++++++++++ 2 files changed, 19 insertions(+)documentation/ref-manual/classes.rst +0
-0@@ -3110,6 +3110,11 @@ after it is built, you can set:term:
TESTIMAGE_AUTO::
TESTIMAGE_AUTO= "1"documentation/ref-manual/classes.rst +5
-0+The class defines :term:`PTEST_RUNNER_TIMEOUT`, which controls +the per-suite timeout for ``ptest-runner`` during runtime testing. +Image recipes can override this variable to adjust the timeout for +specific images or multiconfig variants. + For information on how to enable, run, and create new tests, see the ":ref:`test-manual/runtime-testing:performing automated runtime testing`" section in the Yocto Project Test Environment Manual.documentation/ref-manual/variables.rst +0
-0@@ -7793,6 +7793,20 @@ system and gives an overview of their function andcontents.
For more information, see
the :ref:ref-classes-ptest-python-pytestclass documentation.documentation/ref-manual/variables.rst +3
-0+ :term:`PTEST_RUNNER_TIMEOUT` + Specifies the timeout in seconds for each ptest suite executed by + ``ptest-runner`` during :ref:`ref-classes-testimage` runtimetesting.
documentation/ref-manual/variables.rst +3
-0+ The default value is ``"450"`` (7.5 minutes). + + This variable is set in the :ref:`ref-classes-testimage` class andcan
documentation/ref-manual/variables.rst +2
-0+ be overridden in image recipes to adjust the timeout for specific + images or multiconfig variants. For example, in``core-image-ptest``::
documentation/ref-manual/variables.rst +6
-0+ + PTEST_RUNNER_TIMEOUT:virtclass-mcextend-python3-cffi = "600" + + The value is passed to the ``ptest-runner -t`` option on the target + at test execution time. + :term:`PV` The version of the recipe. The version is normally extracted fromthe
recipe filename. For example, if the recipe is named
--
2.50.1 (Apple Git-155)-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#9014):
https://lists.yoctoproject.org/g/docs/message/9014
Mute This Topic: https://lists.yoctoproject.org/mt/118036686/924729
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/docs/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-