diff options
| author | 2026-02-25 13:09:04 +0100 | |
|---|---|---|
| committer | 2026-03-03 09:23:57 -0800 | |
| commit | 05c9b2eda8a9e3a216e43879fc812981a4890704 (patch) | |
| tree | 2a52aaa77a45c26446f79b0f7fbcfb25362b26e5 /scripts/Makefile.thinlto | |
| parent | Merge branch 'bpf-allow-void-return-type-for-global-subprogs' (diff) | |
selftests/bpf: Split module_attach into subtests
The test verifies attachment to various hooks in a kernel module,
however, everything is flattened into a single test. This makes it
impossible to run or skip test cases selectively.
Isolate each BPF program into a separate subtest. This is done by
disabling auto-loading of programs and loading and testing each program
separately.
At the same time, modernize the test to use ASSERT* instead of CHECK and
replace `return` by `goto cleanup` where necessary.
Signed-off-by: Viktor Malik <vmalik@redhat.com>
Link: https://lore.kernel.org/r/20260225120904.1529112-1-vmalik@redhat.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
