mbox series

[0/2] Improve error handling of verifier tests

Message ID 20201128192502.88195-1-dev@der-flo.net (mailing list archive)
Headers show
Series Improve error handling of verifier tests | expand

Message

Florian Lehner Nov. 28, 2020, 7:25 p.m. UTC
These patches improve the error handling for verifier tests. With "Test
the 32bit narrow read" Krzesimir Nowak provided these patches first, but
they were never merged.
The improved error handling helps to implement and test BPF program types
that are not supported yet.

Florian Lehner (2):
  selftests/bpf: Avoid errno clobbering
  selftests/bpf: Print reason when a tester could not run a program

 tools/testing/selftests/bpf/test_verifier.c | 28 ++++++++++++++++-----
 1 file changed, 22 insertions(+), 6 deletions(-)