Linux Kernel Selftest development
 help / color / mirror / Atom feed
* [PATCH v2 0/2] update kselftest framework to check for required configs
@ 2024-12-20 19:35 Siddharth Menon
  2024-12-20 19:35 ` [PATCH v2 1/2] selftests: Introduce script to validate " Siddharth Menon
  2024-12-20 19:35 ` [PATCH v2 2/2] selftests/lib.mk: Introduce check " Siddharth Menon
  0 siblings, 2 replies; 5+ messages in thread
From: Siddharth Menon @ 2024-12-20 19:35 UTC (permalink / raw)
  To: simeddon, shuah; +Cc: skhan, pmladek, mbenes, linux-kselftest

Currently, kselftests does not have a generalised mechanism to skip compilation
and run tests when required kernel configuration options are disabled.

This patch series adresses this issue by checking whether all required configs
from selftest/<test>/config are enabled in the current kernel

Siddharth Menon (2):
  selftests: Introduce script to validate required configs
  selftests/lib.mk: Introduce check to validate required configs

 tools/testing/selftests/lib.mk    |  11 ++-
 tools/testing/selftests/mktest.pl | 138 ++++++++++++++++++++++++++++++
 2 files changed, 147 insertions(+), 2 deletions(-)
 mode change 100644 => 100755 tools/testing/selftests/lib.mk
 create mode 100755 tools/testing/selftests/mktest.pl

-- 
2.39.5


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-01-07 13:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-20 19:35 [PATCH v2 0/2] update kselftest framework to check for required configs Siddharth Menon
2024-12-20 19:35 ` [PATCH v2 1/2] selftests: Introduce script to validate " Siddharth Menon
2025-01-07 13:44   ` Petr Mladek
2024-12-20 19:35 ` [PATCH v2 2/2] selftests/lib.mk: Introduce check " Siddharth Menon
2025-01-07 13:53   ` Petr Mladek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox