[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <34a9bd63-a251-0b4f-73b6-06b9bbf9d3fa@linuxfoundation.org>
Date: Tue, 24 Sep 2019 10:03:41 -0600
From: Shuah Khan <skhan@...uxfoundation.org>
To: Cristian Marussi <cristian.marussi@....com>,
Alexei Starovoitov <alexei.starovoitov@...il.com>,
Daniel Borkmann <daniel@...earbox.net>
Cc: "open list:KERNEL SELFTEST FRAMEWORK"
<linux-kselftest@...r.kernel.org>, bpf <bpf@...r.kernel.org>,
Networking <netdev@...r.kernel.org>,
"David S. Miller" <davem@...emloft.net>,
"skh >> Shuah Khan" <skhan@...uxfoundation.org>
Subject: Re: Linux 5.4 - bpf test build fails
On 9/24/19 9:52 AM, Cristian Marussi wrote:
> Hi Shuah
>
> On 24/09/2019 16:26, Shuah Khan wrote:
>> Hi Alexei and Daniel,
>>
>> bpf test doesn't build on Linux 5.4 mainline. Do you know what's
>> happening here.
>>
>>
>> make -C tools/testing/selftests/bpf/
>
> side question, since I'm writing arm64/ tests.
>
> my "build-testcases" following the KSFT docs are:
>
> make kselftest
> make TARGETS=arm64 kselftest
> make -C tools/testing/selftests/
> make -C tools/testing/selftests/ INSTALL_PATH=<install-path> install
> make TARGETS=arm64 -C tools/testing/selftests/
> make TARGETS=arm64 -C tools/testing/selftests/ INSTALL_PATH=<install-path> install
> ./kselftest_install.sh <install-path>
>
> (and related clean targets...)
>
> but definitely NOT
>
> make -C tools/testing/selftests/arm64
>
> (for simplicity....due to the subdirs structure under tools/testing/selftests/arm64/)
>
Some people like to build their tests using:
make -C tools/testing/selftests/<testdir>
I have been continuing to support it for that reason.
Tests with subdirs can handle this case. Pleas see android and futex
tests.
thanks,
-- Shuah
Powered by blists - more mailing lists