selftests/bpf: Omit skeleton generation for multi-linked BPF object files
authorAndrii Nakryiko <andrii@kernel.org>
Fri, 23 Apr 2021 18:13:44 +0000 (11:13 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 23 Apr 2021 21:05:27 +0000 (14:05 -0700)
commitb131aed910097a2eeac8180bf3cf214eea475d9a
treec7fcab87fca7c11d6ee766a74abfb6649074d52f
parent41c472e85b531a228067bee9be59a508900bcd9f
selftests/bpf: Omit skeleton generation for multi-linked BPF object files

Skip generating individual BPF skeletons for files that are supposed to be
linked together to form the final BPF object file. Very often such files are
"incomplete" BPF object files, which will fail libbpf bpf_object__open() step,
if used individually, thus failing BPF skeleton generation. This is by design,
so skip individual BPF skeletons and only validate them as part of their
linked final BPF object file and skeleton.

Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/bpf/20210423181348.1801389-15-andrii@kernel.org
tools/testing/selftests/bpf/Makefile