mbox series

[v3,0/2,RESEND] update kselftest framework to check for required configs

Message ID 20250227053322.114215-1-simeddon@gmail.com (mailing list archive)
Headers show
Series update kselftest framework to check for required configs | expand

Message

Siddharth Menon Feb. 27, 2025, 5:29 a.m. UTC
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 dependencies
  selftests/lib.mk: Introduce check to validate required dependencies

 .../testing/selftests/check_kselftest_deps.pl | 170 ++++++++++++++++++
 tools/testing/selftests/lib.mk                |  15 +-
 2 files changed, 183 insertions(+), 2 deletions(-)
 create mode 100755 tools/testing/selftests/check_kselftest_deps.pl