aboutsummaryrefslogtreecommitdiff
path: root/tools/testing
diff options
context:
space:
mode:
authorJean-Philippe Brucker <[email protected]>2021-01-13 17:33:20 +0100
committerAndrii Nakryiko <[email protected]>2021-01-13 19:05:40 -0800
commitb8d1cbef2ea4415edcdb5a825972d93b63fcf63c (patch)
treeed107382774ad35c827924ba9d27541c8060b624 /tools/testing
parentca1e846711a8f49382005eb5feb82973fa88a849 (diff)
selftests/bpf: Install btf_dump test cases
The btf_dump test cannot access the original source files for comparison when running the selftests out of tree, causing several failures: awk: btf_dump_test_case_syntax.c: No such file or directory ... Add those files to $(TEST_FILES) to have "make install" pick them up. Signed-off-by: Jean-Philippe Brucker <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing')
-rw-r--r--tools/testing/selftests/bpf/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/testing/selftests/bpf/Makefile b/tools/testing/selftests/bpf/Makefile
index 0fafdc022ac3..7f8667ad113e 100644
--- a/tools/testing/selftests/bpf/Makefile
+++ b/tools/testing/selftests/bpf/Makefile
@@ -46,7 +46,8 @@ endif
TEST_GEN_FILES = test_lwt_ip_encap.o \
test_tc_edt.o
-TEST_FILES = xsk_prereqs.sh
+TEST_FILES = xsk_prereqs.sh \
+ $(wildcard progs/btf_dump_test_case_*.c)
# Order correspond to 'make run_tests' order
TEST_PROGS := test_kmod.sh \