Re: [PATCH bpf-next 4/6] bpf: btf: Some test_btf clean up

2018-05-08 Thread Song Liu
> On May 4, 2018, at 2:49 PM, Martin KaFai Lau wrote: > > 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

[PATCH bpf-next 4/6] bpf: btf: Some test_btf clean up

2018-05-04 Thread Martin KaFai Lau
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 Acked-by: Alexei Starovoitov