[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAEf4BzZWESwpMymZSp7bW+701LEJrRCyydr9XpV86huT_vQRFw@mail.gmail.com>
Date: Tue, 15 Oct 2019 22:37:07 -0700
From: Andrii Nakryiko <andrii.nakryiko@...il.com>
To: Alexei Starovoitov <ast@...com>
Cc: Andrii Nakryiko <andriin@...com>,
"bpf@...r.kernel.org" <bpf@...r.kernel.org>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"daniel@...earbox.net" <daniel@...earbox.net>,
Kernel Team <Kernel-team@...com>
Subject: Re: [PATCH v2 bpf-next 5/6] selftests/bpf: replace test_progs and
test_maps w/ general rule
On Tue, Oct 15, 2019 at 10:11 PM Alexei Starovoitov <ast@...com> wrote:
>
> On 10/15/19 8:29 PM, Andrii Nakryiko wrote:
> > Makefile:282: warning: overriding recipe for target
> > `/data/users/andriin/linux/tools/testing/selftests/bpf/test_xdp.o'
> > Makefile:277: warning: ignoring old recipe for target
> > `/data/users/andriin/linux/tools/testing/selftests/bpf/test_xdp.o'
>
> I thought I can live with it, but no. It's too annoying.
> Any make clean or make prints it.
agree :-)
>
> Also looking at commit f96afa767baf ("selftests/bpf: enable (uncomment)
> all tests in test_libbpf.sh") that introduced this stuff...
> I think it's all obsolete now.
> test_libbpf* can be removed. test_progs nowadays do a lot more
> than this mini-test.
> Doing a test with clang native | llc -march=bpf is still useful,
> but at this shape of test_libbpf it's pointless to continue doing so.
> Such clang native test should be properly integrated into test_progs.
> For now I suggest to remove this extra test_xdp.o recompilation
> and remove test_libbpf*
ok, will do in v3
Powered by blists - more mailing lists