commit | e34d98d3b4e2e3edcaebb68b1fad564af68f2b73 | [log] [tgz] |
---|---|---|
author | Martin KaFai Lau <kafai@fb.com> | Fri May 04 14:49:53 2018 -0700 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Wed May 09 17:25:14 2018 +0200 |
tree | eb787173dd6110914d1619602c4738a553b616b4 | |
parent | 62dab84c81a487d946a5fc37c6df541dd95cca38 [diff] |
bpf: btf: Some test_btf clean up 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 <kafai@fb.com> Acked-by: Alexei Starovoitov <ast@fb.com> Acked-by: Song Liu <songliubraving@fb.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>