selftests/bpf: print traceback when test fails
authorJakub Kicinski <jakub.kicinski@netronome.com>
Wed, 6 Feb 2019 04:03:22 +0000 (20:03 -0800)
committerDaniel Borkmann <daniel@iogearbox.net>
Wed, 6 Feb 2019 14:35:42 +0000 (15:35 +0100)
commitd7f356380241ad5d34756eb551fffcf351ac969b
tree71b7fa8565fafdcc0c4330adfdf420d2bb8f2bf9
parent9ee963d6a1a03a4302b230cd21476a3c269af284
selftests/bpf: print traceback when test fails

Figuring out which exact check in test_offload.py takes more
time than it should.  Print the traceback (to the screen and
the logs).

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
tools/testing/selftests/bpf/test_offload.py