Re: [PATCH bpf-next 6/9] selftests/bpf: abstract away test log output

2019-07-27 Thread Andrii Nakryiko
On Fri, Jul 26, 2019 at 3:26 PM Stanislav Fomichev wrote: > > On 07/26, Andrii Nakryiko wrote: > > On Fri, Jul 26, 2019 at 2:31 PM Stanislav Fomichev wrote: > > > > > > On 07/26, Andrii Nakryiko wrote: > > > > This patch changes how test output is printed out. By default, if test > > > > had no e

Re: [PATCH bpf-next 6/9] selftests/bpf: abstract away test log output

2019-07-26 Thread Alexei Starovoitov
On Fri, Jul 26, 2019 at 03:26:52PM -0700, Stanislav Fomichev wrote: > On 07/26, Andrii Nakryiko wrote: > > On Fri, Jul 26, 2019 at 2:31 PM Stanislav Fomichev wrote: > > > > > > On 07/26, Andrii Nakryiko wrote: > > > > This patch changes how test output is printed out. By default, if test > > > > h

Re: [PATCH bpf-next 6/9] selftests/bpf: abstract away test log output

2019-07-26 Thread Stanislav Fomichev
On 07/26, Andrii Nakryiko wrote: > On Fri, Jul 26, 2019 at 2:31 PM Stanislav Fomichev wrote: > > > > On 07/26, Andrii Nakryiko wrote: > > > This patch changes how test output is printed out. By default, if test > > > had no errors, the only output will be a single line with test number, > > > name

Re: [PATCH bpf-next 6/9] selftests/bpf: abstract away test log output

2019-07-26 Thread Andrii Nakryiko
On Fri, Jul 26, 2019 at 2:31 PM Stanislav Fomichev wrote: > > On 07/26, Andrii Nakryiko wrote: > > This patch changes how test output is printed out. By default, if test > > had no errors, the only output will be a single line with test number, > > name, and verdict at the end, e.g.: > > > > #31

Re: [PATCH bpf-next 6/9] selftests/bpf: abstract away test log output

2019-07-26 Thread Stanislav Fomichev
On 07/26, Andrii Nakryiko wrote: > This patch changes how test output is printed out. By default, if test > had no errors, the only output will be a single line with test number, > name, and verdict at the end, e.g.: > > #31 xdp:OK > > If test had any errors, all log output captured during test

[PATCH bpf-next 6/9] selftests/bpf: abstract away test log output

2019-07-26 Thread Andrii Nakryiko
This patch changes how test output is printed out. By default, if test had no errors, the only output will be a single line with test number, name, and verdict at the end, e.g.: #31 xdp:OK If test had any errors, all log output captured during test execution will be output after test completes.