History

bpf, testing: Add missing object file to TEST_FILES

When installing kselftests to its own directory and run the test_lwt_ip_encap.sh it will complain that test_lwt_ip_encap.o can't be found. Same with the test_tc_edt.sh test it will complain that test_tc_edt.o can't be found. $ ./test_lwt_ip_encap.sh starting egress IPv4 encap test Error opening object test_lwt_ip_encap.o: No such file or directory Object hashing failed! Cannot initialize ELF context! Failed to parse eBPF program: Invalid argument Rework to add test_lwt_ip_encap.o and test_tc_edt.o to TEST_FILES so the object file gets installed when installing kselftest.

Anders Roxell committed 7 years ago

Commit e47a1791 parent b7a0d651 file · +2 −1Browse files

Unified · Split

tools/testing/selftests/bpf/Makefile+2−1
@@ -38,7 +38,8 @@ TEST_GEN_PROGS += test_progs-bpf_gcc · 37 unmodified lines
38endif38endif
39 39
40TEST_GEN_FILES =40TEST_GEN_FILES =
41TEST_FILES =41TEST_FILES = test_lwt_ip_encap.o \
42 test_tc_edt.o
42 43
43# Order correspond to 'make run_tests' order44# Order correspond to 'make run_tests' order
44TEST_PROGS := test_kmod.sh \45TEST_PROGS := test_kmod.sh \

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t