Skip to content

Commit

Permalink
bpf: btf: Some test_btf clean up
Browse files Browse the repository at this point in the history
This patch adds a CHECK() macro for condition checking
and error report purpose.  Something similar to test_progs.c

It also counts the number of tests passed/skipped/failed and
print them at the end of the test run.

Signed-off-by: Martin KaFai Lau <[email protected]>
Acked-by: Alexei Starovoitov <[email protected]>
Acked-by: Song Liu <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
  • Loading branch information
iamkafai authored and borkmann committed May 9, 2018
1 parent 62dab84 commit e34d98d
Showing 1 changed file with 99 additions and 102 deletions.
Loading

0 comments on commit e34d98d

Please sign in to comment.