mirror of
https://github.com/torvalds/linux.git
synced 2026-11-07 06:17:02 +01:00
selftests: netdevsim: add TEST_INCLUDES to Makefile
Some netdevsim selftests source forwarding/lib.sh and other files, but
the Makefile doesn't have TEST_INCLUDES targets, which makes
make INSTALL_PATH=/tmp/kself TARGETS=drivers/net/netdevsim \
-C tools/testing/selftests install
failed to install related lib files. Add TEST_INCLUDES to the Makefile
to install the dependencies.
Signed-off-by: Hangbin Liu <liuhangbin@kylinos.cn>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20260910-nsim_lib-v1-1-0be0d49eaa42@kylinos.cn
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
c0aca269ec
commit
879e280b84
|
|
@ -22,4 +22,12 @@ TEST_FILES := \
|
|||
ethtool-common.sh
|
||||
# end of TEST_FILES
|
||||
|
||||
TEST_INCLUDES := \
|
||||
$(wildcard ../../../net/lib/sh/*.sh) \
|
||||
../../../net/forwarding/devlink_lib.sh \
|
||||
../../../net/forwarding/fib_offload_lib.sh \
|
||||
../../../net/forwarding/lib.sh \
|
||||
../../../net/lib.sh \
|
||||
# end of TEST_INCLUDES
|
||||
|
||||
include ../../../lib.mk
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user