projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c21dc52
)
selftests/bpf: Install all required files to run selftests
author
Daan De Meyer
<daan.j.demeyer@gmail.com>
Mon, 5 Dec 2022 13:16:16 +0000
(14:16 +0100)
committer
Andrii Nakryiko
<andrii@kernel.org>
Wed, 7 Dec 2022 00:33:11 +0000
(16:33 -0800)
When installing the selftests using
"make -C tools/testing/selftests install", we need to make sure
all the required files to run the selftests are installed. Let's
make sure this is the case.
Signed-off-by: Daan De Meyer <daan.j.demeyer@gmail.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link:
https://lore.kernel.org/bpf/20221205131618.1524337-2-daan.j.demeyer@gmail.com
tools/testing/selftests/bpf/Makefile
patch
|
blob
|
history
diff --git
a/tools/testing/selftests/bpf/Makefile
b/tools/testing/selftests/bpf/Makefile
index 6a0f043dc410989f5617c7ff16c140d8d08376b3..997b3bd10cbf5b1530aa3cd582491d521420b137 100644
(file)
--- a/
tools/testing/selftests/bpf/Makefile
+++ b/
tools/testing/selftests/bpf/Makefile
@@
-532,8
+532,10
@@
TRUNNER_EXTRA_FILES := $(OUTPUT)/urandom_read $(OUTPUT)/bpf_testmod.ko \
$(OUTPUT)/liburandom_read.so \
$(OUTPUT)/xdp_synproxy \
$(OUTPUT)/sign-file \
- ima_setup.sh verify_sig_setup.sh \
- $(wildcard progs/btf_dump_test_case_*.c)
+ ima_setup.sh \
+ verify_sig_setup.sh \
+ $(wildcard progs/btf_dump_test_case_*.c) \
+ $(wildcard progs/*.bpf.o)
TRUNNER_BPF_BUILD_RULE := CLANG_BPF_BUILD_RULE
TRUNNER_BPF_CFLAGS := $(BPF_CFLAGS) $(CLANG_CFLAGS) -DENABLE_ATOMICS_TESTS
$(eval $(call DEFINE_TEST_RUNNER,test_progs))