mbox series

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

Message ID 20241220193536.13781-1-simeddon@gmail.com
Headers show
Series update kselftest framework to check for required configs | expand

Message

Siddharth Menon Dec. 20, 2024, 7:35 p.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 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