Skip to content

Commit b8d1cbe

Browse files
jpbruckeranakryiko
authored andcommitted
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 <jean-philippe@linaro.org> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/20210113163319.1516382-6-jean-philippe@linaro.org
1 parent ca1e846 commit b8d1cbe

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tools/testing/selftests/bpf/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ endif
4646

4747
TEST_GEN_FILES = test_lwt_ip_encap.o \
4848
test_tc_edt.o
49-
TEST_FILES = xsk_prereqs.sh
49+
TEST_FILES = xsk_prereqs.sh \
50+
$(wildcard progs/btf_dump_test_case_*.c)
5051

5152
# Order correspond to 'make run_tests' order
5253
TEST_PROGS := test_kmod.sh \

0 commit comments

Comments
 (0)