Skip to contentSkip to conversation

selftests/bpf: Add liburandom_read.so to TEST_GEN_FILES

PATCH Applied Yauheni Kaliuta 2 participants 2 messages Sep 20, 2022 – Sep 22, 2022

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 selftests/bpf: Add liburandom_read.so to TEST_GEN_FILES

Added urandom_read shared lib is missing from the list of installed files what makes urandom_read test after make install or make gen_tar broken.

Add the library to TEST_GEN_FILES. The names in the list do not contain $(OUTPUT) since it's added by lib.mk code.

Fixes 00a0fa2d7d49 ("selftests/bpf: Add urandom_read shared lib and USDTs")
---
 tools/testing/selftests/bpf/Makefile | 1 +
 1 file changed, 1 insertion(+)
tools/testing/selftests/bpf/Makefile +1 -0
index 8d59ec7f4c2d..8b7b72f14665 100644
@@ -85,6 +85,7 @@ TEST_GEN_PROGS_EXTENDED = test_sock_addr test_skb_cgroup_id_user \
 	xskxceiver xdp_redirect_multi xdp_synproxy
 
 TEST_CUSTOM_PROGS = $(OUTPUT)/urandom_read
+TEST_GEN_FILES += liburandom_read.so
 
 # Emit succinct information message describing current building step
 # $1 - generic step name (e.g., CC, LINK, etc);
Signature · 1 line
2.37.3
#1 lore raw
This patch was applied to bpf/bpf-next.git (master) by Andrii Nakryiko <[email protected]>:

Hello:

This patch was applied to bpf/bpf-next.git (master) by Andrii Nakryiko <[email protected]>:

Quoted 8 lines · On Tue, 20 Sep 2022 19:14:09 +0300 you wrote:

Added urandom_read shared lib is missing from the list of installed files what makes urandom_read test after make install or make gen_tar broken.

Add the library to TEST_GEN_FILES. The names in the list do not contain $(OUTPUT) since it's added by lib.mk code.

[...]

Here is the summary with links:
- [bpf-next] selftests/bpf: Add liburandom_read.so to TEST_GEN_FILES

    https://git.kernel.org/bpf/bpf-next/c/b780d1671cf9

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html