selftests: can: enable CONFIG_CAN_VCAN as a module
authorDavide Caratti <dcaratti@redhat.com>
Wed, 10 Sep 2025 14:56:06 +0000 (16:56 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Wed, 10 Sep 2025 15:11:50 +0000 (17:11 +0200)
commitd013ebc3499fd87cb9dee1dafd0c58aeb05c27c1
tree514a24a7ec7d9681e8e4885e90f8e71a3b1cdc15
parent641427d5bf90af0625081bf27555418b101274cd
selftests: can: enable CONFIG_CAN_VCAN as a module

A proper kernel configuration for running kselftest can be obtained with:

 $ yes | make kselftest-merge

Build of 'vcan' driver is currently missing, while the other required knobs
are already there because of net/link_netns.py [1]. Add a config file in
selftests/net/can to store the minimum set of kconfig needed for CAN
selftests.

[1] https://patch.msgid.link/20250219125039.18024-14-shaw.leon@gmail.com

Fixes: 77442ffa83e8 ("selftests: can: Import tst-filter from can-tests")
Reviewed-by: Vincent Mailhol <mailhol@kernel.org>
Signed-off-by: Davide Caratti <dcaratti@redhat.com>
Link: https://patch.msgid.link/fa4c0ea262ec529f25e5f5aa9269d84764c67321.1757516009.git.dcaratti@redhat.com
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
tools/testing/selftests/net/can/config [new file with mode: 0644]