Re: [PATCH bpf-next] selftests/bpf: add general instructions for test execution

2020-05-19 Thread Alexei Starovoitov
On Tue, May 19, 2020 at 10:34:25PM +0100, Alan Maguire wrote: > On Tue, 19 May 2020, Alexei Starovoitov wrote: > > > On Mon, May 18, 2020 at 12:23:10PM +0100, Alan Maguire wrote: > > > Getting a clean BPF selftests run involves ensuring latest trunk > > > LLVM/clang > > > are used, pahole is rece

Re: [PATCH bpf-next] selftests/bpf: add general instructions for test execution

2020-05-19 Thread Alan Maguire
On Tue, 19 May 2020, Alexei Starovoitov wrote: > On Mon, May 18, 2020 at 12:23:10PM +0100, Alan Maguire wrote: > > Getting a clean BPF selftests run involves ensuring latest trunk LLVM/clang > > are used, pahole is recent (>=1.16) and config matches the specified > > config file as closely as poss

Re: [PATCH bpf-next] selftests/bpf: add general instructions for test execution

2020-05-19 Thread Alexei Starovoitov
On Mon, May 18, 2020 at 12:23:10PM +0100, Alan Maguire wrote: > Getting a clean BPF selftests run involves ensuring latest trunk LLVM/clang > are used, pahole is recent (>=1.16) and config matches the specified > config file as closely as possible. Document all of this in the general > README.rst

Re: [PATCH bpf-next] selftests/bpf: add general instructions for test execution

2020-05-18 Thread Andrii Nakryiko
On Mon, May 18, 2020 at 4:24 AM Alan Maguire wrote: > > Getting a clean BPF selftests run involves ensuring latest trunk LLVM/clang > are used, pahole is recent (>=1.16) and config matches the specified > config file as closely as possible. Document all of this in the general > README.rst file.

[PATCH bpf-next] selftests/bpf: add general instructions for test execution

2020-05-18 Thread Alan Maguire
Getting a clean BPF selftests run involves ensuring latest trunk LLVM/clang are used, pahole is recent (>=1.16) and config matches the specified config file as closely as possible. Document all of this in the general README.rst file. Also note how to work around timeout failures. Signed-off-by: