aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnders Roxell <anders.roxell@linaro.org>2019-11-06 16:39:43 +0100
committerAnders Roxell <anders.roxell@linaro.org>2019-11-06 16:43:46 +0100
commit909a7601174b293d458494a6d21a3a9047adc3ef (patch)
treec3180984b9d091e154acbdd61b31dd44e5885569
parent382076ee07a80eccfcb0bb117ddaae1f07afd93f (diff)
selftests: bpf: test_tc_edt: add missing object file to TEST_FILESfrag-next-20191106
When installing kselftests to its own directory and running the test_tc_edt.sh it will complain that test_tc_edt.o can't be find. $ ./test_tc_edt.sh Error opening object test_tc_edt.o: No such file or directory Object hashing failed! Cannot initialize ELF context! Unable to load program Rework to add test_tc_edt.o to TEST_FILES so the object file gets installed when installing kselftest. Fixes: 7df5e3db8f63 ("selftests: bpf: tc-bpf flow shaping with EDT") Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
-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 cc09b5df9403..b03dc2298fea 100644
--- a/tools/testing/selftests/bpf/Makefile
+++ b/tools/testing/selftests/bpf/Makefile
@@ -38,7 +38,8 @@ TEST_GEN_PROGS += test_progs-bpf_gcc
endif
TEST_GEN_FILES =
-TEST_FILES = test_lwt_ip_encap.o
+TEST_FILES = test_lwt_ip_encap.o \
+ test_tc_edt.o
# Order correspond to 'make run_tests' order
TEST_PROGS := test_kmod.sh \