[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20251106064512.086e9cb9@kernel.org>
Date: Thu, 6 Nov 2025 06:45:12 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: Hangbin Liu <liuhangbin@...il.com>
Cc: netdev@...r.kernel.org, Donald Hunter <donald.hunter@...il.com>, "David
S. Miller" <davem@...emloft.net>, Eric Dumazet <edumazet@...gle.com>, Paolo
Abeni <pabeni@...hat.com>, Simon Horman <horms@...nel.org>, Jan Stancek
<jstancek@...hat.com>, "Matthieu Baerts (NGI0)" <matttbe@...nel.org>,
Asbjørn Sloth Tønnesen <ast@...erby.net>,
Stanislav Fomichev <sdf@...ichev.me>, Ido Schimmel <idosch@...dia.com>,
Guillaume Nault <gnault@...hat.com>, Petr Machata <petrm@...dia.com>
Subject: Re: [PATCHv2 net-next 3/3] tools: ynl: add YNL test framework
On Thu, 6 Nov 2025 02:40:25 +0000 Hangbin Liu wrote:
> On Wed, Nov 05, 2025 at 06:33:13PM -0800, Jakub Kicinski wrote:
> > On Wed, 5 Nov 2025 08:28:41 +0000 Hangbin Liu wrote:
> > > Add a test framework for YAML Netlink (YNL) tools, covering both CLI and
> > > ethtool functionality. The framework includes:
> > >
> > > 1) cli: family listing, netdev, ethtool, rt-* families, and nlctrl
> > > operations
> > > 2) ethtool: device info, statistics, ring/coalesce/pause parameters, and
> > > feature gettings
> > >
> > > The current YNL syntax is a bit obscure, and end users may not always know
> > > how to use it. This test framework provides usage examples and also serves
> > > as a regression test to catch potential breakages caused by future changes.
> >
> > And how would we run all the tests in the new directory?
> >
> > Since we have two test files we need some way to run all.
>
> I didn't get your requirement. We can run them one by one in the test folder.
>
> # ./test_ynl_cli.sh
> # ./test_ynl_ethtool.sh
>
> Do you want to use a wrapper to run the 2 tests? e.g.
> # ./run_all_ynl_tests.sh
Or make run_tests, like ksft
Powered by blists - more mailing lists