summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/drivers/net/netconsole/config
diff options
context:
space:
mode:
authorAndre Carvalho <asantostc@gmail.com>2026-01-27 19:39:20 +0000
committerJakub Kicinski <kuba@kernel.org>2026-01-29 17:30:48 -0800
commitb3827c91cc9979fe04d99e016fb9c5f6260f29a0 (patch)
treedee89ff7b0d09e5b3871c903c291bdf217382c21 /tools/testing/selftests/drivers/net/netconsole/config
parenta010fe8d869635fd15c1d5768ba6a2f48795fa36 (diff)
netconsole: selftests: Move netconsole selftests to separate target
This patch moves netconsole selftests from drivers/net to its own target in drivers/net/netconsole. This change helps saving some resources from CI since tests in drivers/net automatically run against real hardware which are not used by netconsole tests as they rely solely on netdevsim. lib_netcons.sh is kept under drivers/net/lib since it is also used by bonding selftests. Finally, drivers/net config remains unchanged as netpoll_basic.py requires netconsole (and does leverage real HW testing). Reviewed-by: Breno Leitao <leitao@debian.org> Signed-off-by: Andre Carvalho <asantostc@gmail.com> Link: https://patch.msgid.link/20260127-netcons-selftest-target-v2-1-f509ab65b3bc@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/testing/selftests/drivers/net/netconsole/config')
-rw-r--r--tools/testing/selftests/drivers/net/netconsole/config6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/testing/selftests/drivers/net/netconsole/config b/tools/testing/selftests/drivers/net/netconsole/config
new file mode 100644
index 000000000000..a3f6b0fd44ef
--- /dev/null
+++ b/tools/testing/selftests/drivers/net/netconsole/config
@@ -0,0 +1,6 @@
+CONFIG_CONFIGFS_FS=y
+CONFIG_IPV6=y
+CONFIG_NETCONSOLE=m
+CONFIG_NETCONSOLE_DYNAMIC=y
+CONFIG_NETCONSOLE_EXTENDED_LOG=y
+CONFIG_NETDEVSIM=m