mirror of
https://github.com/torvalds/linux.git
synced 2026-04-19 15:24:02 -04:00
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>
38 lines
618 B
Makefile
38 lines
618 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
CFLAGS += $(KHDR_INCLUDES)
|
|
|
|
TEST_INCLUDES := $(wildcard lib/py/*.py) \
|
|
$(wildcard lib/sh/*.sh) \
|
|
../../net/lib.sh \
|
|
|
|
TEST_GEN_FILES := \
|
|
gro \
|
|
napi_id_helper \
|
|
# end of TEST_GEN_FILES
|
|
|
|
TEST_PROGS := \
|
|
gro.py \
|
|
hds.py \
|
|
napi_id.py \
|
|
napi_threaded.py \
|
|
netpoll_basic.py \
|
|
ping.py \
|
|
psp.py \
|
|
queues.py \
|
|
ring_reconfig.py \
|
|
shaper.py \
|
|
stats.py \
|
|
xdp.py \
|
|
# end of TEST_PROGS
|
|
|
|
# YNL files, must be before "include ..lib.mk"
|
|
YNL_GEN_FILES := psp_responder
|
|
TEST_GEN_FILES += $(YNL_GEN_FILES)
|
|
|
|
include ../../lib.mk
|
|
|
|
# YNL build
|
|
YNL_GENS := psp
|
|
|
|
include ../../net/ynl.mk
|