diff options
author | Ilya Leoshkevich <[email protected]> | 2021-10-07 19:33:28 +0200 |
---|---|---|
committer | Andrii Nakryiko <[email protected]> | 2021-10-08 20:07:05 -0700 |
commit | 5319255b8df9271474bc9027cabf82253934f28d (patch) | |
tree | 7bba86f8ff87713a78ad8dfd10f7390022562a62 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | e52a8b96c5ade8007ffc5f2fc8142b40e45c325c (diff) |
selftests/bpf: Skip verifier tests that fail to load with ENOTSUPP
The verifier tests added in commit c48e51c8b07a ("bpf: selftests: Add
selftests for module kfunc support") fail on s390, since the JIT does
not support calling kernel functions. This is most likely an issue for
all the other non-Intel arches, as well as on Intel with
!CONFIG_DEBUG_INFO_BTF or !CONFIG_BPF_JIT.
Trying to check for messages from all the possible add_kfunc_call()
failure cases in test_verifier looks pointless, so do a much simpler
thing instead: just like it's already done in do_prog_test_run(), skip
the tests that fail to load with ENOTSUPP.
Signed-off-by: Ilya Leoshkevich <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Acked-by: Song Liu <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions