From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtpout-04.galae.net (smtpout-04.galae.net [185.171.202.116]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.37924.1796223391988015180 for ; Wed, 02 Dec 2026 06:56:32 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=dkim header.b=adOmiAVY; spf=pass (domain: bootlin.com, ip: 185.171.202.116, mailfrom: antonin.godard@bootlin.com) Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-04.galae.net (Postfix) with ESMTPS id 4B981C01332 for ; Wed, 2 Dec 2026 14:56:40 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 4C8886075F for ; Wed, 2 Dec 2026 14:56:29 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 784D911EA1BDE; Wed, 02 Dec 2026 15:56:24 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1796223384; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=X7UwxnnCCa5I93wGxZRYuCuSdUO5taZjv2RMU2ocUfY=; b=adOmiAVYggi1Jfb1lrTom/EQwUMMMMqCW1xlH0uEY+0hfiT5QsWcsCXQ1m81/Kr3pj2SK9 kVhjhRo/a/gswaXy9JyOtT1II2OqmFefZc9dDskYf0l4miLUX+LuYCTnKnQ9HyuKWvDbMb wS9GqkWe4tKmN0vCz3YaknuaB/GaqXs3RMVozXsDAPsmMgtM8lRtHtPKA2DdXfP9ACGmK7 kTLVZr8QxgU0BeYrBlCal73rl12jsptSEyrOoBONIpf4RtIRJPN9MjCbNZ/y92H5pRucX0 uK7r3YMBAmDitmDH9gEkvtJk4VbdEQZcz5USM/QEyS3CXiuPXuJmbHd8pnyy/g== From: Antonin Godard Date: Wed, 02 Dec 2026 15:55:53 +0100 Subject: [PATCH 18/18] test-manual/runtime-testing.rst: fix wrong BBPATH statements MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20261202-layer-conf-changes-v1-18-da34d4c770c6@bootlin.com> References: <20261202-layer-conf-changes-v1-0-da34d4c770c6@bootlin.com> In-Reply-To: <20261202-layer-conf-changes-v1-0-da34d4c770c6@bootlin.com> To: docs@lists.yoctoproject.org Cc: Thomas Petazzoni , Antonin Godard X-Mailer: b4 0.17-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=1963; i=antonin.godard@bootlin.com; h=from:subject:message-id; bh=cmfPTNDlUDZZJIiJoH/pUKPS3H0FjJ8q3Eo3Jh8r1uU=; b=owEBbQKS/ZANAwAKAdGAQUApo6g2AcsmYgBrEDFvneRbz3sCjXyPugBeMw+5v+T9Zv1Q2m7M9 6LofG0eGPuJAjMEAAEKAB0WIQSGSHJRiN1AG7mg0//RgEFAKaOoNgUCaxAxbwAKCRDRgEFAKaOo Np1aEADCN9VySnl39k2wnIKYRfSOlzx64fwWGVmMNXtbzzO3hDIzb4dIQOKF4kpDYooBZCYHBrZ jv/t9InRAUy6r4jT8Z+j3Qf3LBNQr7e+f2QRYV+sHMG6eNcNFB9JjFg6OcRkVWbaybeSh+Eo2dj kJGb7DLmKtID0WyZmsI0f4JFqY87ZBAnJlCJm9fdzKoRZDt7ZWftLHPG3i1Xgl/Syvs+ICaeT49 duNIOSi5Ci4pgGRPTU4BpXWJCS09C9+MGvqjT3FBXS1MmYa77+ghjuXH9eOU6icnFj20fkaI/kO 4wd63KprTc0kFh1hwUw5YxZp4mvx4UGtHjE7SvfrU/Ye3nZSBUXDdkFB+6/No6bTbkFV2P1txoP V041qFsWeThkImaQyEqI3RSbuipvU214FOB2PPUdczWkLhkxHb03TZSoi4MbniSRTqiDapE2a8M lnt+fnLGcPwpNq5xlMM88nhBpRQnPlEGxrdNLaZVtTnUdR4dz14HVurThMM1uZn7NCi92qBk7hw f8/ckoqw3tJPXk2E3KLphQntJTHRwJoAFajjI6mUYH70gqUHoaTutBjBvaDd6nuGNqVzCjL/ivr smwm+SONqdJS7LuVc5btnL31DiZx7wg6UCaj6dxCHn8cwQO++KJ9OsUi2qxQgHwH6DAXd4LxFvR hr6oa7Ygfrw7WWA== X-Developer-Key: i=antonin.godard@bootlin.com; a=openpgp; fpr=8648725188DD401BB9A0D3FFD180414029A3A836 X-Last-TLS-Session-Version: TLSv1.3 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Wed, 02 Dec 2026 14:56:33 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/10905 The statements used to say the testimage was looking for tests with BBPATH: this is wrong. In testimage.bbclass:get_runtime_paths(), the code iterates directly with BBLAYERS variable. Signed-off-by: Antonin Godard --- documentation/test-manual/runtime-testing.rst | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/documentation/test-manual/runtime-testing.rst b/documentation/test-manual/runtime-testing.rst index 5a7193f01..951017c18 100644 --- a/documentation/test-manual/runtime-testing.rst +++ b/documentation/test-manual/runtime-testing.rst @@ -344,10 +344,10 @@ directly to a Python module. Each test module may contain a number of individual tests. Tests are usually grouped together by the area tested (e.g tests for systemd reside in ``meta/lib/oeqa/runtime/cases/systemd.py``). -You can add tests to any layer provided you place them in the proper -area and you extend :term:`BBPATH` in -the :ref:`structure-build-conf-local.conf` file as normal. Be sure that tests reside in -``layer/lib/oeqa/runtime/cases``. +You can add tests to any layer provided you place them in +``/lib/oeqa/runtime/cases``. The :ref:`ref-classes-testimage` class +iterates through the :term:`BBLAYERS` variable and tries to find this +directory for each layer. .. note:: @@ -449,9 +449,8 @@ Writing New Tests As mentioned previously, all new test files need to be in the proper place for the build system to find them. New tests for additional functionality outside of the core should be added to the layer that adds -the functionality, in ``layer/lib/oeqa/runtime/cases`` (as long as -:term:`BBPATH` is extended in the -layer's ``layer.conf`` file as normal). Just remember the following: +the functionality, in ``layer/lib/oeqa/runtime/cases``. Just remember the +following: - Filenames need to map directly to test (module) names. -- 2.56.0