Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

selftests: net: move netlink-dumps back to progs

Commit 9bb88c659673 ("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>

+6 -3
+3 -1
tools/testing/selftests/net/Makefile
··· 121 121 TEST_PROGS += route_hint.sh 122 122 123 123 # YNL files, must be before "include ..lib.mk" 124 - YNL_GEN_FILES := busy_poller netlink-dumps 124 + YNL_GEN_FILES := busy_poller 125 + YNL_GEN_PROGS := netlink-dumps 125 126 TEST_GEN_FILES += $(YNL_GEN_FILES) 127 + TEST_GEN_PROGS += $(YNL_GEN_PROGS) 126 128 127 129 TEST_FILES := settings 128 130 TEST_FILES += in_netns.sh lib.sh setup_loopback.sh setup_veth.sh
+3 -2
tools/testing/selftests/net/ynl.mk
··· 5 5 # Inputs: 6 6 # 7 7 # YNL_GENS: families we need in the selftests 8 - # YNL_PROGS: TEST_PROGS which need YNL (TODO, none exist, yet) 8 + # YNL_GEN_PROGS: TEST_GEN_PROGS which need YNL 9 9 # YNL_GEN_FILES: TEST_GEN_FILES which need YNL 10 10 11 - YNL_OUTPUTS := $(patsubst %,$(OUTPUT)/%,$(YNL_GEN_FILES)) 11 + YNL_OUTPUTS := $(patsubst %,$(OUTPUT)/%,$(YNL_GEN_FILES)) \ 12 + $(patsubst %,$(OUTPUT)/%,$(YNL_GEN_PROGS)) 12 13 YNL_SPECS := \ 13 14 $(patsubst %,$(top_srcdir)/Documentation/netlink/specs/%.yaml,$(YNL_GENS)) 14 15