diff options
author | Bui Quang Minh <minhquangbui99@gmail.com> | 2025-06-01 21:29:13 +0700 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2025-06-03 12:21:04 +0200 |
commit | d3f2a9587ebe68f5067f9ff624f9a83dfb911f60 (patch) | |
tree | 8a73b5e4f6cf5e21903604391362be5f96983a18 | |
parent | 982d30c30eaa2ec723df42e3bf526c014c1dbb88 (diff) | |
download | ipsec-d3f2a9587ebe68f5067f9ff624f9a83dfb911f60.tar.gz |
selftests: net: build net/lib dependency in all target
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>
-rw-r--r-- | tools/testing/selftests/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/Makefile b/tools/testing/selftests/Makefile index 6aa11cd3db42b2..339b31e6a6b592 100644 --- a/tools/testing/selftests/Makefile +++ b/tools/testing/selftests/Makefile @@ -205,7 +205,7 @@ export KHDR_INCLUDES all: @ret=1; \ - for TARGET in $(TARGETS); do \ + for TARGET in $(TARGETS) $(INSTALL_DEP_TARGETS); do \ BUILD_TARGET=$$BUILD/$$TARGET; \ mkdir $$BUILD_TARGET -p; \ $(MAKE) OUTPUT=$$BUILD_TARGET -C $$TARGET \ |