bpf.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH bpf-next v1 1/1] selftests/bpf: Copy test_kmods when installing selftest
@ 2025-08-12 17:50 Amery Hung
  2025-08-13 23:10 ` patchwork-bot+netdevbpf
  0 siblings, 1 reply; 2+ messages in thread
From: Amery Hung @ 2025-08-12 17:50 UTC (permalink / raw)
  To: bpf; +Cc: alexei.starovoitov, andrii, daniel, mykyta.yatsenko5, toke,
	kernel-team

Commit d6212d82bf26 ("selftests/bpf: Consolidate kernel modules into
common directory") consolidated the Makefile of test_kmods. However,
since it removed test_kmods from TEST_GEN_PROGS_EXTENDED, the kernel
modules required by bpf selftests are now missing from kselftest_install
when "make install". Fix it by adding test_kmod to TEST_GEN_FILES.

Fixes: d6212d82bf26 ("selftests/bpf: Consolidate kernel modules into common directory")
Signed-off-by: Amery Hung <ameryhung@gmail.com>
---
 tools/testing/selftests/bpf/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/testing/selftests/bpf/Makefile b/tools/testing/selftests/bpf/Makefile
index 4863106034df..77794efc020e 100644
--- a/tools/testing/selftests/bpf/Makefile
+++ b/tools/testing/selftests/bpf/Makefile
@@ -137,7 +137,7 @@ TEST_GEN_PROGS_EXTENDED = \
 	xdping \
 	xskxceiver
 
-TEST_GEN_FILES += liburandom_read.so urandom_read sign-file uprobe_multi
+TEST_GEN_FILES += $(TEST_KMODS) liburandom_read.so urandom_read sign-file uprobe_multi
 
 ifneq ($(V),1)
 submake_extras := feature_display=0
-- 
2.47.3


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH bpf-next v1 1/1] selftests/bpf: Copy test_kmods when installing selftest
  2025-08-12 17:50 [PATCH bpf-next v1 1/1] selftests/bpf: Copy test_kmods when installing selftest Amery Hung
@ 2025-08-13 23:10 ` patchwork-bot+netdevbpf
  0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2025-08-13 23:10 UTC (permalink / raw)
  To: Amery Hung
  Cc: bpf, alexei.starovoitov, andrii, daniel, mykyta.yatsenko5, toke,
	kernel-team

Hello:

This patch was applied to bpf/bpf-next.git (master)
by Andrii Nakryiko <andrii@kernel.org>:

On Tue, 12 Aug 2025 10:50:39 -0700 you wrote:
> Commit d6212d82bf26 ("selftests/bpf: Consolidate kernel modules into
> common directory") consolidated the Makefile of test_kmods. However,
> since it removed test_kmods from TEST_GEN_PROGS_EXTENDED, the kernel
> modules required by bpf selftests are now missing from kselftest_install
> when "make install". Fix it by adding test_kmod to TEST_GEN_FILES.
> 
> Fixes: d6212d82bf26 ("selftests/bpf: Consolidate kernel modules into common directory")
> Signed-off-by: Amery Hung <ameryhung@gmail.com>
> 
> [...]

Here is the summary with links:
  - [bpf-next,v1,1/1] selftests/bpf: Copy test_kmods when installing selftest
    https://git.kernel.org/bpf/bpf-next/c/07866544e410

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-08-13 23:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-12 17:50 [PATCH bpf-next v1 1/1] selftests/bpf: Copy test_kmods when installing selftest Amery Hung
2025-08-13 23:10 ` patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).