mbox series

[meta-oe,0/4] kernel-selftest: update mm (formerly vm) test category

Message ID 20260420111712.26945-1-joaomarcos.costa@bootlin.com
Headers show
Series kernel-selftest: update mm (formerly vm) test category | expand

Message

João Marcos Costa April 20, 2026, 11:17 a.m. UTC
Hello,

After a recent change in libhugetlbfs recipe, my attention was drawn (in
the mailing list) to the impact this could have in recipes suchs as
memcached and kernel-selftest.

This patch series includes my latest changes regarding kernel-selftest,
and the memcached recipe will be handled in a follow-up series.

I tested this with both clang and gcc, in qemuriscv64. As you can see in
the traces below, 'mm' collection of tests is available and can be
executed:

root@qemuriscv64:~# /usr/kernel-selftest/run_kselftest.sh --list
firmware:fw_run_tests.sh
mm:run_vmtests.sh
cpufreq:main.sh
cpu-hotplug:cpu-on-off-test.sh
rtc:rtctest
ptp:testptp
ptp:phc.sh
timers:posix_timers
timers:nanosleep
timers:nsleep-lat
timers:set-timer-lat
timers:mqueue-lat
timers:inconsistency-check
timers:raw_skew
timers:threadtest
timers:rtcpie

root@qemuriscv64:~# /usr/kernel-selftest/run_kselftest.sh -c mm
(...)
# ok 60 test_page_frag.sh aligned # SKIP
# # -unnin--./test_---e_f---.s--non-li-ned
# # running ./test_page_frag.sh nonaligned
# # -unnin--./test_---e_f---.s--non-li-ned
# # ./test_page_frag.sh: You need to compile page_frag_test module
# # [SKIP]
# ok 61 test_page_frag.sh nonaligned # SKIP
# # SUMMARY: PASS=25 SKIP=20 FAIL=16
# 1..61
ok 1 selftests: mm: run_vmtests.sh # SKIP

Best regards,

João Marcos Costa (4):
  kernel-selftest: rename vm selftests to mm
  kernel-selftest: drop libhugetlbfs
  kernel-selftest: fix mm selftests dependencies
  kernel-selftest: add missing sources if mm is enabled

 .../kernel-selftest/kernel-selftest.bb        | 23 +++---
 ...s-down-full-CC-and-CFLAGS-to-check_c.patch | 76 +++++++++++++++++++
 2 files changed, 89 insertions(+), 10 deletions(-)
 create mode 100644 meta-oe/recipes-kernel/kernel-selftest/kernel-selftest/0001-selftests-mm-pass-down-full-CC-and-CFLAGS-to-check_c.patch