public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: Jakub Kicinski <kuba@kernel•org>
To: Hangbin Liu <liuhangbin@gmail•com>
Cc: netdev@vger•kernel.org, "Donald Hunter" <donald.hunter@gmail•com>,
	"David S. Miller" <davem@davemloft•net>,
	"Eric Dumazet" <edumazet@google•com>,
	"Paolo Abeni" <pabeni@redhat•com>,
	"Simon Horman" <horms@kernel•org>,
	"Jan Stancek" <jstancek@redhat•com>,
	"Matthieu Baerts (NGI0)" <matttbe@kernel•org>,
	"Asbjørn Sloth Tønnesen" <ast@fiberby•net>,
	"Stanislav Fomichev" <sdf@fomichev•me>,
	"Ido Schimmel" <idosch@nvidia•com>,
	"Guillaume Nault" <gnault@redhat•com>,
	"Petr Machata" <petrm@nvidia•com>
Subject: Re: [PATCHv2 net-next 3/3] tools: ynl: add YNL test framework
Date: Thu, 6 Nov 2025 06:45:12 -0800	[thread overview]
Message-ID: <20251106064512.086e9cb9@kernel.org> (raw)
In-Reply-To: <aQwKmZ6vF9dWZzqa@fedora>

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

  reply	other threads:[~2025-11-06 14:45 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-05  8:28 [PATCHv2 net-next 0/3] Add YNL test framework and library improvements Hangbin Liu
2025-11-05  8:28 ` [PATCHv2 net-next 1/3] tools: ynl: Add MAC address parsing support Hangbin Liu
2025-11-05  8:28 ` [PATCHv2 net-next 2/3] netlink: specs: update rt-rule src/dst attribute types to support IPv4 addresses Hangbin Liu
2025-11-05  8:28 ` [PATCHv2 net-next 3/3] tools: ynl: add YNL test framework Hangbin Liu
2025-11-05 17:00   ` Sabrina Dubroca
2025-11-06  1:39     ` Hangbin Liu
2025-11-06  2:33   ` Jakub Kicinski
2025-11-06  2:40     ` Hangbin Liu
2025-11-06 14:45       ` Jakub Kicinski [this message]
2025-11-10  3:14         ` Hangbin Liu

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=20251106064512.086e9cb9@kernel.org \
    --to=kuba@kernel$(echo .)org \
    --cc=ast@fiberby$(echo .)net \
    --cc=davem@davemloft$(echo .)net \
    --cc=donald.hunter@gmail$(echo .)com \
    --cc=edumazet@google$(echo .)com \
    --cc=gnault@redhat$(echo .)com \
    --cc=horms@kernel$(echo .)org \
    --cc=idosch@nvidia$(echo .)com \
    --cc=jstancek@redhat$(echo .)com \
    --cc=liuhangbin@gmail$(echo .)com \
    --cc=matttbe@kernel$(echo .)org \
    --cc=netdev@vger$(echo .)kernel.org \
    --cc=pabeni@redhat$(echo .)com \
    --cc=petrm@nvidia$(echo .)com \
    --cc=sdf@fomichev$(echo .)me \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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