[LTP] [PATCH 00/17] Replace needs_drivers with needs_kconfigs
Cyril Hrubis
chrubis@suse.cz
Thu Apr 2 14:13:39 CEST 2026
The needs_drivers and needs_kconfigs options had overlapping
functionality. This patchset gets rid of needs_drivers by adding module
checks to needs_kconfigs.
Cyril Hrubis (17):
syscalls: ioctl08: Remove .needs_drivers
lib: shell: Remove needs_drivers from JSON parser
lib: tst_kernel: Add tst_check_module_driver()
lib: tst_kconfig: Add module presence checks
tests: kvm: Switch from needs_drivers to needs_kconfigs
tests: zram03: Switch from needs_drivers to needs_kconfigs
tests: squashfs01: Switch from needs_drivers to needs_kconfigs
tests: ioctl: Switch from needs_drivers to needs_kconfigs
tests: madvise11: Switch from needs_drivers to needs_kconfigs
tests: quotactl: Switch from needs_drivers to needs_kconfigs
tests: uevent: Switch from needs_drivers to needs_kconfigs
cve: tcindex01: Switch from needs_drivers to needs_kconfigs
tests: can: Switch from needs_drivers to needs_kconfigs
tests: fsetxattr: Switch from needs_drivers to needs_kconfigs
sctp: Switch from needs_drivers to needs_kconfigs
lib: tst_test: Remove now unused needs_drivers
doc: metadata: Remove needs_drivers from docs
doc/developers/writing_tests.rst | 3 --
doc/old/C-Test-API.asciidoc | 13 +++---
include/tst_kernel.h | 10 +++++
include/tst_test.h | 5 ---
lib/tst_kconfig.c | 41 +++++++++++++++++++
lib/tst_kernel.c | 12 +++---
lib/tst_test.c | 9 ----
metadata/README.md | 15 +++----
testcases/cve/tcindex01.c | 5 +--
testcases/kernel/device-drivers/zram/zram03.c | 4 +-
testcases/kernel/fs/squashfs/squashfs01.c | 4 +-
testcases/kernel/kvm/kvm_pagefault01.c | 4 +-
testcases/kernel/kvm/kvm_svm01.c | 4 +-
testcases/kernel/kvm/kvm_svm02.c | 4 +-
testcases/kernel/kvm/kvm_svm03.c | 4 +-
testcases/kernel/kvm/kvm_svm04.c | 4 +-
testcases/kernel/kvm/kvm_vmx01.c | 4 +-
testcases/kernel/kvm/kvm_vmx02.c | 4 +-
.../kernel/syscalls/fsetxattr/fsetxattr02.c | 4 +-
testcases/kernel/syscalls/ioctl/ioctl08.c | 4 --
testcases/kernel/syscalls/ioctl/ioctl09.c | 4 +-
.../kernel/syscalls/ioctl/ioctl_loop01.c | 4 +-
.../kernel/syscalls/ioctl/ioctl_loop02.c | 4 +-
.../kernel/syscalls/ioctl/ioctl_loop03.c | 4 +-
.../kernel/syscalls/ioctl/ioctl_loop04.c | 4 +-
.../kernel/syscalls/ioctl/ioctl_loop05.c | 4 +-
.../kernel/syscalls/ioctl/ioctl_loop06.c | 4 +-
.../kernel/syscalls/ioctl/ioctl_loop07.c | 4 +-
testcases/kernel/syscalls/madvise/madvise11.c | 5 +--
.../kernel/syscalls/quotactl/quotactl01.c | 4 +-
.../kernel/syscalls/quotactl/quotactl04.c | 4 +-
.../kernel/syscalls/quotactl/quotactl06.c | 4 +-
.../kernel/syscalls/quotactl/quotactl08.c | 4 +-
.../kernel/syscalls/quotactl/quotactl09.c | 4 +-
testcases/kernel/uevents/uevent01.c | 4 +-
testcases/kernel/uevents/uevent02.c | 4 +-
testcases/kernel/uevents/uevent03.c | 4 +-
testcases/lib/tst_run_shell.c | 5 ---
testcases/network/can/cve/can_bcm01.c | 6 +--
.../network/can/filter-tests/can_filter.c | 6 +--
.../can/filter-tests/can_rcv_own_msgs.c | 6 +--
.../func_tests/test_1_to_1_initmsg_connect.c | 4 +-
42 files changed, 135 insertions(+), 118 deletions(-)
--
2.52.0
More information about the ltp
mailing list