summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorAntonin Godard <antonin.godard@bootlin.com>2025-09-26 09:54:25 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-10-14 11:36:58 +0100
commit8b4438fe84d0d51d2ec0858182110744f89f8b9b (patch)
tree8c2b4bb4c577bf0d16c552484245c6ff51b63716 /documentation
parentd9bd693589c9b8afc2fcea25abe3eee7640b1596 (diff)
downloadpoky-8b4438fe84d0d51d2ec0858182110744f89f8b9b.tar.gz
dev-manual/layers.rst: yocto-check-layer: update list of test
Update the lists of tests as found OE-Core as of commit 07747aa7390e ("piglit: rename virtual/opencl-icd to virtual/libopencl1"). Add a link to the test directory in case the list is update, users can still browse through the code. (From yocto-docs rev: c3783914d01d313a35e29e75e562eefba5e40df4) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r--documentation/dev-manual/layers.rst20
1 files changed, 18 insertions, 2 deletions
diff --git a/documentation/dev-manual/layers.rst b/documentation/dev-manual/layers.rst
index 4224a02b28..cc7103ba61 100644
--- a/documentation/dev-manual/layers.rst
+++ b/documentation/dev-manual/layers.rst
@@ -392,12 +392,17 @@ These machines are the ones present in your BSP layer, in the ``conf/machine/``
392directory. 392directory.
393 393
394Entering the command causes the script to determine the type of layer 394Entering the command causes the script to determine the type of layer
395and then to execute a set of specific tests against the layer. The 395and then to execute a set of specific tests against the layer.
396following list overviews the test: 396
397The following list overviews the test:
397 398
398- ``common.test_readme``: Tests if a ``README`` file exists in the 399- ``common.test_readme``: Tests if a ``README`` file exists in the
399 layer and the file is not empty. 400 layer and the file is not empty.
400 401
402- ``common.test_security``: Tests that the layer has a ``SECURITY.md``
403 (or similar) file, either in the layer itself or at the top of the containing
404 git repository.
405
401- ``common.test_parse``: Tests to make sure that BitBake can parse the 406- ``common.test_parse``: Tests to make sure that BitBake can parse the
402 files without error (i.e. ``bitbake -p``). 407 files without error (i.e. ``bitbake -p``).
403 408
@@ -406,6 +411,13 @@ following list overviews the test:
406 411
407- ``common.test_world``: Verifies that ``bitbake world`` works. 412- ``common.test_world``: Verifies that ``bitbake world`` works.
408 413
414- ``common.test_world_inherit_class``: Verifies that ``bitbake world`` works
415 when the :ref:`ref-classes-yocto-check-layer` class is inherited.
416
417- ``common.test_patches_upstream_status``: Verifies that all the patch files
418 included in the layer contain a
419 :ref:`contributor-guide/recipe-style-guide:Patch Upstream Status`.
420
409- ``common.test_signatures``: Tests to be sure that BSP and DISTRO 421- ``common.test_signatures``: Tests to be sure that BSP and DISTRO
410 layers do not come with recipes that change signatures. 422 layers do not come with recipes that change signatures.
411 423
@@ -431,6 +443,10 @@ following list overviews the test:
431- ``distro.test_distro_no_set_distros``: Tests to ensure a DISTRO layer 443- ``distro.test_distro_no_set_distros``: Tests to ensure a DISTRO layer
432 does not set the distribution when the layer is added. 444 does not set the distribution when the layer is added.
433 445
446For a complete list of tests, see the :oe_git:`scripts/lib/checklayer/cases
447</openembedded-core/tree/scripts/lib/checklayer/cases>` directory in
448:term:`OpenEmbedded-Core (OE-Core)`.
449
434Enabling Your Layer 450Enabling Your Layer
435=================== 451===================
436 452