mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-12-27 11:06:41 -05:00
selftests: net: move netlink-dumps back to progs
Commit 9bb88c6596 ("selftests: net: test extacks in netlink dumps")
moved netlink-dumps from TEST_GEN_PROGS to YNL_GEN_FILES.
But _FILES are not for tests, rather for utilities / helpers.
Create YNL_GEN_PROGS and include netlink-dumps there.
This makes netlink-dumps part of executed tests, again.
Link: https://patch.msgid.link/20250906211351.3192412-2-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
@@ -121,8 +121,10 @@ TEST_PROGS += ipv6_force_forwarding.sh
|
||||
TEST_PROGS += route_hint.sh
|
||||
|
||||
# YNL files, must be before "include ..lib.mk"
|
||||
YNL_GEN_FILES := busy_poller netlink-dumps
|
||||
YNL_GEN_FILES := busy_poller
|
||||
YNL_GEN_PROGS := netlink-dumps
|
||||
TEST_GEN_FILES += $(YNL_GEN_FILES)
|
||||
TEST_GEN_PROGS += $(YNL_GEN_PROGS)
|
||||
|
||||
TEST_FILES := settings
|
||||
TEST_FILES += in_netns.sh lib.sh setup_loopback.sh setup_veth.sh
|
||||
|
||||
@@ -5,10 +5,11 @@
|
||||
# Inputs:
|
||||
#
|
||||
# YNL_GENS: families we need in the selftests
|
||||
# YNL_PROGS: TEST_PROGS which need YNL (TODO, none exist, yet)
|
||||
# YNL_GEN_PROGS: TEST_GEN_PROGS which need YNL
|
||||
# YNL_GEN_FILES: TEST_GEN_FILES which need YNL
|
||||
|
||||
YNL_OUTPUTS := $(patsubst %,$(OUTPUT)/%,$(YNL_GEN_FILES))
|
||||
YNL_OUTPUTS := $(patsubst %,$(OUTPUT)/%,$(YNL_GEN_FILES)) \
|
||||
$(patsubst %,$(OUTPUT)/%,$(YNL_GEN_PROGS))
|
||||
YNL_SPECS := \
|
||||
$(patsubst %,$(top_srcdir)/Documentation/netlink/specs/%.yaml,$(YNL_GENS))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user