Files
linux/tools/testing/selftests/drivers/net/netconsole/Makefile
Andre Carvalho b3827c91cc 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>
2026-01-29 17:30:48 -08:00

20 lines
351 B
Makefile

# SPDX-License-Identifier: GPL-2.0
TEST_INCLUDES := \
../../../net/lib.sh \
../lib/sh/lib_netcons.sh \
# end of TEST_INCLUDES
TEST_PROGS := \
netcons_basic.sh \
netcons_cmdline.sh \
netcons_fragmented_msg.sh \
netcons_overflow.sh \
netcons_resume.sh \
netcons_sysdata.sh \
netcons_torture.sh \
# end of TEST_PROGS
include ../../../lib.mk