Skip to content

Commit 5921a0f

Browse files
committed
Merge branch 'bpf-selftests'
Daniel Borkmann says: ==================== Move to BPF selftests This set improves the test_verifier and test_maps suite and moves it over to a new BPF selftest directory, so we can keep improving it under kernel selftest umbrella. This also integrates a test script for checking test_bpf.ko under various JIT options. ==================== Signed-off-by: David S. Miller <[email protected]>
2 parents 1441dc9 + 5aa5bd1 commit 5921a0f

File tree

12 files changed

+1207
-760
lines changed

12 files changed

+1207
-760
lines changed

MAINTAINERS

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2521,6 +2521,8 @@ L: [email protected]
25212521
25222522
S: Supported
25232523
F: kernel/bpf/
2524+
F: tools/testing/selftests/bpf/
2525+
F: lib/test_bpf.c
25242526

25252527
BROADCOM B44 10/100 ETHERNET DRIVER
25262528
M: Michael Chan <[email protected]>
@@ -8413,7 +8415,6 @@ F: include/uapi/linux/net_namespace.h
84138415
F: tools/net/
84148416
F: tools/testing/selftests/net/
84158417
F: lib/random32.c
8416-
F: lib/test_bpf.c
84178418

84188419
NETWORKING [IPv4/IPv6]
84198420
M: "David S. Miller" <[email protected]>

samples/bpf/Makefile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
obj- := dummy.o
33

44
# List of programs to build
5-
hostprogs-y := test_verifier test_maps
65
hostprogs-y += sock_example
76
hostprogs-y += fds_example
87
hostprogs-y += sockex1
@@ -28,8 +27,6 @@ hostprogs-y += test_current_task_under_cgroup
2827
hostprogs-y += trace_event
2928
hostprogs-y += sampleip
3029

31-
test_verifier-objs := test_verifier.o libbpf.o
32-
test_maps-objs := test_maps.o libbpf.o
3330
sock_example-objs := sock_example.o libbpf.o
3431
fds_example-objs := bpf_load.o libbpf.o fds_example.o
3532
sockex1-objs := bpf_load.o libbpf.o sockex1_user.o

0 commit comments

Comments
 (0)