From: Petr Machata <petrm@nvidia.com>
To: Jakub Kicinski <kuba@kernel.org>
Cc: <davem@davemloft.net>, <netdev@vger.kernel.org>,
<edumazet@google.com>, <pabeni@redhat.com>,
<andrew+netdev@lunn.ch>, <horms@kernel.org>,
"Antonio Quartulli" <antonio@openvpn.net>,
"Matthieu Baerts (NGI0)" <matttbe@kernel.org>,
Allison Henderson <allison.henderson@oracle.com>,
<shuah@kernel.org>, <jv@jvosburgh.net>, <olteanv@gmail.com>,
<jiri@resnulli.us>, <mst@redhat.com>, <jasowang@redhat.com>,
<xuanzhuo@linux.alibaba.com>, <eperezma@redhat.com>,
<kuniyu@google.com>, <martineau@kernel.org>,
<pablo@netfilter.org>, <kadlec@netfilter.org>, <fw@strlen.de>,
<petrm@nvidia.com>, <razor@blackwall.org>, <idosch@nvidia.com>,
<linux-kselftest@vger.kernel.org>, <mptcp@lists.linux.dev>,
<netfilter-devel@vger.kernel.org>, <coreteam@netfilter.org>
Subject: Re: [PATCH net v2] selftests: net: unify the Makefile formats
Date: Mon, 6 Oct 2025 11:40:59 +0200 [thread overview]
Message-ID: <87o6qkcnol.fsf@nvidia.com> (raw)
In-Reply-To: <20251003210127.1021918-1-kuba@kernel.org>
Jakub Kicinski <kuba@kernel.org> writes:
> We get a significant number of conflicts between net and net-next
> because of selftests Makefile changes. People tend to append new
> test cases at the end of the Makefile when there's no clear sort
> order. Sort all networking selftests Makefiles, use the following
> format:
If we see weird errors in CI, it might be because tests now run in a
different order and previously masked missed cleanups are now exposed.
>
> VAR_NAME := \
> entry1 \
> entry2 \
> entry3 \
> # end of VAR_NAME
>
> Some Makefiles are already pretty close to this.
>
> Acked-by: Antonio Quartulli <antonio@openvpn.net>
> Acked-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
> Acked-by: Allison Henderson <allison.henderson@oracle.com>
> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Petr Machata <petrm@nvidia.com>
But there's a missed nit below.
> diff --git a/tools/testing/selftests/drivers/net/dsa/Makefile b/tools/testing/selftests/drivers/net/dsa/Makefile
> index cd6817fe5be6..699e3565d735 100644
> --- a/tools/testing/selftests/drivers/net/dsa/Makefile
> +++ b/tools/testing/selftests/drivers/net/dsa/Makefile
> @@ -9,11 +9,13 @@ TEST_PROGS = bridge_locked_port.sh \
This should have the header converted as well:
TEST_PROGS := \
bridge_locked_port.sh \
> local_termination.sh \
> no_forwarding.sh \
> tc_actions.sh \
> - test_bridge_fdb_stress.sh
> + test_bridge_fdb_stress.sh \
> +# end of TEST_PROGS
>
> TEST_FILES := \
> + forwarding.config \
> run_net_forwarding_test.sh \
> - forwarding.config
> +# end of TEST_FILES
>
> TEST_INCLUDES := \
> ../../../net/forwarding/bridge_locked_port.sh \
next prev parent reply other threads:[~2025-10-06 10:48 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-03 21:01 [PATCH net v2] selftests: net: unify the Makefile formats Jakub Kicinski
2025-10-06 9:40 ` Petr Machata [this message]
2025-10-06 17:30 ` Jakub Kicinski
2025-10-06 20:34 ` patchwork-bot+netdevbpf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87o6qkcnol.fsf@nvidia.com \
--to=petrm@nvidia.com \
--cc=allison.henderson@oracle.com \
--cc=andrew+netdev@lunn.ch \
--cc=antonio@openvpn.net \
--cc=coreteam@netfilter.org \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=eperezma@redhat.com \
--cc=fw@strlen.de \
--cc=horms@kernel.org \
--cc=idosch@nvidia.com \
--cc=jasowang@redhat.com \
--cc=jiri@resnulli.us \
--cc=jv@jvosburgh.net \
--cc=kadlec@netfilter.org \
--cc=kuba@kernel.org \
--cc=kuniyu@google.com \
--cc=linux-kselftest@vger.kernel.org \
--cc=martineau@kernel.org \
--cc=matttbe@kernel.org \
--cc=mptcp@lists.linux.dev \
--cc=mst@redhat.com \
--cc=netdev@vger.kernel.org \
--cc=netfilter-devel@vger.kernel.org \
--cc=olteanv@gmail.com \
--cc=pabeni@redhat.com \
--cc=pablo@netfilter.org \
--cc=razor@blackwall.org \
--cc=shuah@kernel.org \
--cc=xuanzhuo@linux.alibaba.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).