]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
selftests: net: build net/lib dependency in all target
authorBui Quang Minh <minhquangbui99@gmail.com>
Sun, 1 Jun 2025 14:29:13 +0000 (21:29 +0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jun 2025 13:32:18 +0000 (15:32 +0200)
commit1184f7df1d08c682631d9fe68df407615601db14
tree2a72b3b3deecc596246247989f85d8fad68eac91
parent6d300675dc38928275f44390ef5b76851ccad299
selftests: net: build net/lib dependency in all target

[ Upstream commit d3f2a9587ebe68f5067f9ff624f9a83dfb911f60 ]

We have the logic to include net/lib automatically for net related
selftests. However, currently, this logic is only in install target
which means only `make install` will have net/lib included. This commit
adds the logic to all target so that all `make`, `make run_tests` and
`make install` will have net/lib included in net related selftests.

Signed-off-by: Bui Quang Minh <minhquangbui99@gmail.com>
Link: https://patch.msgid.link/20250601142914.13379-1-minhquangbui99@gmail.com
Fixes: b86761ff6374 ("selftests: net: add scaffolding for Netlink tests in Python")
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
tools/testing/selftests/Makefile