mbox series

[0/4] ptest: common PTEST_SKIP mechanism

Message ID 20261203141849.81105-1-jaipaul.cheernam@est.tech
Headers show
Series ptest: common PTEST_SKIP mechanism | expand

Message

Jaipaul Cheernam Dec. 3, 2026, 2:18 p.m. UTC
Recipes skip unreliable ptests each their own way (sed loops, deleting
tests, patches); the reason is only a comment and skips silently break
when a test is renamed. This adds PTEST_SKIP[<test>] = "<reason>" and
converts strace, elfutils and libsoup. Skipped tests report SKIP with
their reason; a missing test fails the build.
  
testimage on qemux86-64:
   strace    PASSED 1173  SKIPPED 352  FAILED 0
   elfutils  PASSED  262  SKIPPED  46  FAILED 0
   libsoup   PASSED   35  SKIPPED   3  FAILED 0

Jaipaul Cheernam (4):
  ptest.bbclass: add PTEST_SKIP to skip individual tests
  strace: use PTEST_SKIP for the skipped ptests
  elfutils: use PTEST_SKIP for run-stackprof-system.sh
  libsoup: use PTEST_SKIP for the skipped ptests

 meta/classes-recipe/ptest.bbclass             | 43 +++++++++++++
 .../elfutils/elfutils_0.197.bb                | 11 +---
 .../strace/strace/skip-load.patch             | 62 -------------------
 meta/recipes-devtools/strace/strace_7.3.bb    | 19 +++---
 meta/recipes-support/libsoup/libsoup_3.8.1.bb | 34 +++++-----
 5 files changed, 68 insertions(+), 101 deletions(-)
 delete mode 100644 meta/recipes-devtools/strace/strace/skip-load.patch