[PATCH bpf-next v3 0/2] Skip callback tests if jit is disabled in test_verifier

From: Tiezhu Yang
Date: Mon Jan 15 2024 - 02:00:32 EST


v3:
-- Rebase on the latest bpf-next tree.
-- Address the review comments by Hou Tao,
remove the second argument "0" of open(),
check only once whether jit is disabled,
check fd_prog, saved_errno and jit_disabled to skip.

Tiezhu Yang (2):
selftests/bpf: Move is_jit_enabled() to testing_helpers
selftests/bpf: Skip callback tests if jit is disabled in test_verifier

tools/testing/selftests/bpf/test_progs.c | 18 ---------------
tools/testing/selftests/bpf/test_verifier.c | 23 +++++++++++++++++++
tools/testing/selftests/bpf/testing_helpers.c | 18 +++++++++++++++
tools/testing/selftests/bpf/testing_helpers.h | 1 +
4 files changed, 42 insertions(+), 18 deletions(-)

--
2.42.0