poky/meta
Thune Tran 041ba867db oeqa/sdk: Simplify test specification and discovery
Simplify how tests are specified and discovered for different SDK configurations
to allow per-layer customization.

* Introduce `TESTSDK_CASE_DIRS` variable to specify test directory types,
  replacing the need to modify the default_cases class member

* Discover tests from configured layers using a common discovery pattern
  (`<LAYER_DIR>/lib/oeqa/<dirname>/cases`) where `<dirname>` is specified in `TESTSDK_CASE_DIRS`

* The buildtools directories were renamed to follow the common discovery pattern
(`<LAYER_DIR>/lib/oeqa/<dirname>/cases`) for consistency across all SDK configurations.

  meta/lib/oeqa/
  ├── sdk/cases/              # Standard SDK: dirname="sdk"
  ├── buildtools/cases/       # Buildtools: dirname="buildtools"
  └── buildtools-docs/cases/  # Buildtools-docs: dirname="buildtools-docs"

  meta-mingw/lib/oeqa/
  └── sdkmingw/cases/         # MinGW: dirname="sdkmingw"

  meta-foo/lib/oeqa/
  └── sdk/cases/              # Standard SDK: dirname="sdk"

Tested by:

1. Adding new tests using the default discovery pattern `<LAYER_DIR>/lib/oeqa/sdk/cases` and
   verifying they are discovered and executed.

2. Verifying existing SDK configuration tests work (requires -c populate_sdk first):
   * Standard SDK: `bitbake core-image-minimal -c testsdk`
   * Buildtools tarball: `bitbake buildtools-tarball -c testsdk`
   * Buildtools docs tarball: `bitbake buildtools-docs-tarball -c testsdk`
   * Mingw SDK: (SDKMACHINE = "x86_64-mingw32") `bitbake core-image-minimal -c testsdk`

(From OE-Core rev: bde94c128c0b4e7e1ebea40f582b4dd6dcc965ff)

Signed-off-by: Thune Tran <thune.a.tran@boeing.com>
Signed-off-by: Chuck Wolber <chuck.wolber@boeing.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-01 08:49:37 +01:00
..
classes create-spdx-2.2: support to override the version of a package in SPDX 2 2025-07-01 08:49:37 +01:00
classes-global sstate: apply proper umask when fetching from SSTATE_MIRROR 2025-06-26 11:02:34 +01:00
classes-recipe oeqa/sdk: Simplify test specification and discovery 2025-07-01 08:49:37 +01:00
conf python3-sphinx-copybutton: add recipe 2025-07-01 08:49:37 +01:00
files files/license-hashes.csv: add more hashes 2025-06-23 21:42:54 +01:00
lib oeqa/sdk: Simplify test specification and discovery 2025-07-01 08:49:37 +01:00
recipes-bsp u-boot: Allow for customizing installed/deployed file names 2025-06-23 22:13:08 +01:00
recipes-connectivity meta: remove consecutive blank lines 2025-06-20 12:07:27 +01:00
recipes-core oeqa/sdk: Simplify test specification and discovery 2025-07-01 08:49:37 +01:00
recipes-devtools dosfstools: Use standard fsck exit codes 2025-07-01 08:49:37 +01:00
recipes-extended libarchive: upgrade 3.7.9 -> 3.8.1 2025-06-23 21:42:54 +01:00
recipes-gnome meta: remove consecutive blank lines 2025-06-20 12:07:27 +01:00
recipes-graphics libglvnd: drop S assignment 2025-06-25 07:34:20 +01:00
recipes-kernel systemtap: upgrade 5.2 -> 5.3 2025-06-26 11:02:34 +01:00
recipes-multimedia meta: remove consecutive blank lines 2025-06-20 12:07:27 +01:00
recipes-rt meta: remove S in recipes that fetch from git via setting BB_GIT_DEFAULT_DESTSUFFIX 2025-06-20 12:07:26 +01:00
recipes-sato meta: remove consecutive blank lines 2025-06-20 12:07:27 +01:00
recipes-support meta: remove consecutive blank lines 2025-06-20 12:07:27 +01:00
site site/arm-linux: Fix typo for sizeof_char_p 2024-11-21 12:16:28 +00:00
COPYING.MIT
recipes.txt