automated: linux: kselftest: filter skip entries by subsuite

When running a subset of kselftest suites (e.g. kselftest-mm), the
existing skipfile logic still applies all entries from
skipfile-lkft.yaml, including those unrelated to the selected subsuites.
As a result, irrelevant tests (such as those from the breakpoints suite)
appear as "skip" in result.json, even though they were not part of the
test run.

To ensure accurate skip handling, the logic has been updated so that
skip entries only apply to tests within the subsuites selected for the
current run. Each skip entry is parsed to extract the subsuite name,
which is then compared against the entries in TST_CMDFILES. Skip rules
are applied only when a match is found, preventing unrelated tests from
appearing as "skipped" in the results.

This avoids polluting results with unrelated test cases and makes skips
more accurate and meaningful.

Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
1 file changed
tree: e663479392c1d21db9fc2120a3f4a52b93d39968
  1. .github/
  2. .reuse/
  3. automated/
  4. docs/
  5. LICENSES/
  6. manual/
  7. mkdocs_plugin/
  8. plans/
  9. test/
  10. .gitignore
  11. .readthedocs.yml
  12. COPYING
  13. COPYRIGHTS
  14. mkdocs.yml
  15. README.md
  16. sanity-check.sh
  17. test.sh
  18. validate.py
README.md

Build Status REUSE Compliance Check

Test Definitions

A set of testing scripts designed to work with LAVA. Also contains test-runner script that allows execution outside LAVA.

More details in docs