Skip to content

Commit 6595c74

Browse files
yonghong-songborkmann
authored andcommitted
tools/bpf: remove test_sock_addr from TEST_GEN_PROGS
Since test_sock_addr is not supposed to run by itself, remove it from TEST_GEN_PROGS and add it to TEST_GEN_PROGS_EXTENDED. This way, run_tests will not run test_sock_addr. The corresponding test to run is test_sock_addr.sh. Signed-off-by: Yonghong Song <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]>
1 parent b6fd9cf commit 6595c74

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/testing/selftests/bpf/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ urandom_read: urandom_read.c
2424
# Order correspond to 'make run_tests' order
2525
TEST_GEN_PROGS = test_verifier test_tag test_maps test_lru_map test_lpm_map test_progs \
2626
test_align test_verifier_log test_dev_cgroup test_tcpbpf_user \
27-
test_sock test_sock_addr test_btf
27+
test_sock test_btf
2828

2929
TEST_GEN_FILES = test_pkt_access.o test_xdp.o test_l4lb.o test_tcp_estats.o test_obj_id.o \
3030
test_pkt_md_access.o test_xdp_redirect.o test_xdp_meta.o sockmap_parse_prog.o \
@@ -43,7 +43,7 @@ TEST_PROGS := test_kmod.sh \
4343
test_sock_addr.sh
4444

4545
# Compile but not part of 'make run_tests'
46-
TEST_GEN_PROGS_EXTENDED = test_libbpf_open
46+
TEST_GEN_PROGS_EXTENDED = test_libbpf_open test_sock_addr
4747

4848
include ../lib.mk
4949

0 commit comments

Comments
 (0)