aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/sockmap_basic.c
diff options
context:
space:
mode:
authorQuentin Monnet <[email protected]>2020-09-09 16:22:51 +0000
committerAlexei Starovoitov <[email protected]>2020-09-10 18:02:45 +0000
commit41d5c37b74084b44ccc688dbab508acb5fdddc48 (patch)
tree500b69079ea7faa91f1b9c156ad88f7f46c2efad /tools/testing/selftests/bpf/prog_tests/sockmap_basic.c
parenttools: bpftool: Log info-level messages when building bpftool man pages (diff)
downloadkernel-41d5c37b74084b44ccc688dbab508acb5fdddc48.tar.gz
kernel-41d5c37b74084b44ccc688dbab508acb5fdddc48.zip
selftests, bpftool: Add bpftool (and eBPF helpers) documentation build
eBPF selftests include a script to check that bpftool builds correctly with different command lines. Let's add one build for bpftool's documentation so as to detect errors or warning reported by rst2man when compiling the man pages. Also add a build to the selftests Makefile to make sure we build bpftool documentation along with bpftool when building the selftests. This also builds and checks warnings for the man page for eBPF helpers, which is built along bpftool's documentation. This change adds rst2man as a dependency for selftests (it comes with Python's "docutils"). v2: - Use "--exit-status=1" option for rst2man instead of counting lines from stderr. - Also build bpftool as part as the selftests build (and not only when the tests are actually run). Signed-off-by: Quentin Monnet <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Acked-by: Andrii Nakryiko <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/sockmap_basic.c')
0 files changed, 0 insertions, 0 deletions