selftests/bpf: Add liburandom_read.so to TEST_GEN_FILES
authorYauheni Kaliuta <ykaliuta@redhat.com>
Tue, 20 Sep 2022 16:14:09 +0000 (19:14 +0300)
committerAndrii Nakryiko <andrii@kernel.org>
Thu, 22 Sep 2022 20:54:39 +0000 (13:54 -0700)
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")
Signed-off-by: Yauheni Kaliuta <ykaliuta@redhat.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20220920161409.129953-1-ykaliuta@redhat.com
tools/testing/selftests/bpf/Makefile

index 5898d3828b82bcea8f1272725cfefbcbe39b0cdf..e6cf21fad69f0c8d1d8c67163d8350871907e956 100644 (file)
@@ -86,6 +86,7 @@ TEST_GEN_PROGS_EXTENDED = test_sock_addr test_skb_cgroup_id_user \
        xskxceiver xdp_redirect_multi xdp_synproxy veristat
 
 TEST_CUSTOM_PROGS = $(OUTPUT)/urandom_read $(OUTPUT)/sign-file
+TEST_GEN_FILES += liburandom_read.so
 
 # Emit succinct information message describing current building step
 # $1 - generic step name (e.g., CC, LINK, etc);