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

Tiezhu Yang posted 3 patches 1 year, 11 months ago
There is a newer version of this series
tools/testing/selftests/bpf/test_progs.c      | 18 ------------------
tools/testing/selftests/bpf/test_verifier.c   | 13 +++++++++++++
tools/testing/selftests/bpf/testing_helpers.c | 18 ++++++++++++++++++
tools/testing/selftests/bpf/testing_helpers.h | 11 +++++++++++
4 files changed, 42 insertions(+), 18 deletions(-)
[PATCH bpf-next v6 0/3] Skip callback tests if jit is disabled in test_verifier
Posted by Tiezhu Yang 1 year, 11 months ago
v6:
  -- Copy insn_is_pseudo_func() into testing_helpers,
     thanks Andrii.

v5:
  -- Reuse is_ldimm64_insn() and insn_is_pseudo_func(),
     thanks Song Liu.

v4:
  -- Move the not-allowed-checking into "if (expected_ret ...)"
     block, thanks Hou Tao.
  -- Do some small changes to avoid checkpatch warning
     about "line length exceeds 100 columns".

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 (3):
  selftests/bpf: Move is_jit_enabled() into testing_helpers
  selftests/bpf: Copy insn_is_pseudo_func() into 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   | 13 +++++++++++++
 tools/testing/selftests/bpf/testing_helpers.c | 18 ++++++++++++++++++
 tools/testing/selftests/bpf/testing_helpers.h | 11 +++++++++++
 4 files changed, 42 insertions(+), 18 deletions(-)

-- 
2.42.0