DPDK patches and discussions
 help / color / mirror / Atom feed
From: Bruce Richardson <bruce.richardson@intel.com>
To: David Marchand <david.marchand@redhat.com>
Cc: <dev@dpdk.org>,
	Cristian Dumitrescu <cristian.dumitrescu@intel.com>,
	Olivier Matz <olivier.matz@6wind.com>,
	Fan Zhang <fanzhang.oss@gmail.com>,
	Ashish Gupta <ashish.gupta@marvell.com>,
	Akhil Goyal <gakhil@marvell.com>,
	Abhinandan Gujjar <abhinandan.gujjar@intel.com>,
	Naga Harish K S V <s.v.naga.harish.k@intel.com>,
	Erik Gabriel Carrillo <erik.g.carrillo@intel.com>,
	Jerin Jacob <jerinj@marvell.com>,
	"Anatoly Burakov" <anatoly.burakov@intel.com>,
	Kiran Kumar K <kirankumark@marvell.com>,
	Nithin Dabilpuram <ndabilpuram@marvell.com>,
	Zhirun Yan <zhirun.yan@intel.com>,
	Konstantin Ananyev <konstantin.v.ananyev@yandex.ru>,
	Vladimir Medvedkin <vladimir.medvedkin@intel.com>,
	Reshma Pattan <reshma.pattan@intel.com>,
	Chas Williams <chas3@att.com>,
	"Min Hu (Connor)" <humin29@huawei.com>,
	Stephen Hemminger <stephen@networkplumber.org>,
	"Anoob Joseph" <anoobj@marvell.com>,
	Volodymyr Fialko <vfialko@marvell.com>,
	"David Hunt" <david.hunt@intel.com>,
	Sachin Saxena <sachin.saxena@nxp.com>,
	"Hemant Agrawal" <hemant.agrawal@nxp.com>,
	Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>
Subject: Re: Unit tests not defined in any test suite
Date: Fri, 15 Sep 2023 09:21:31 +0100	[thread overview]
Message-ID: <ZQQUCyznQCh1rZdu@bricha3-MOBL.ger.corp.intel.com> (raw)
In-Reply-To: <CAJFAV8w_yop=NWDbCnVdSfyEftyT9XtnBgtL1SegfOK=v1TkoA@mail.gmail.com>

On Fri, Sep 15, 2023 at 09:55:49AM +0200, David Marchand wrote:
> Hello Bruce,
> 
> On Thu, Sep 14, 2023 at 6:16 PM Bruce Richardson
> <bruce.richardson@intel.com> wrote:
> >
> > Hi all,
> >
> > As part of the recent rework of the build of our unit test binary
> > (dpdk-test), the individual autotests were updated in the source code to
> > specify the test suite they belong to. The replacement of the
> > registration macro was done automatically using the existing suite lists
> > in the meson.build file, but following the replacement, it appears that
> > there are quite a number of test cases which are not in any test suite -
> > and as such as not being run automatically for patches in the IOL test
> > lab.
> >
> > Below is a list of these test cases, and the files each is defined in.
> > We should endeavour to ensure each test case is in a suite. Currently we
> > have 3 suites - fast-test, perf-test, and driver-test, but more suites
> > can be added as necessary.
> >
> > I've attempted to automatically identify the maintainers of the various
> > tests using "get-maintainers" script - hence the list of those on CC. If
> > possible, can each of you identify what test cases you may be maintainer
> > for, and add them to a test suite, to help improve our test coverage.
> > [Apologies for any mis-identifications]
> >
> > Thanks,
> > /Bruce
> >
> > alarm_autotest (test_alarm.c)
> > bitratestats_autotest (test_bitratestats.c)
> 
> Those two tests above (and the one on the graph library) made me raise
> an eyebrow as I remembered them being part of the fast-tests list.
> I thought I had checked the tests lists before/after rework..., but
> looking again I did not do this properly (the blame is on the
> reviewers and commiters).
> 
Blame also falls on my as patch author, my apologies. I missed the fact
that the test lists given at the top of the old meson.build file were
incomplete, and were added to by additional tests later down the file in
the if/else blocks. [This is, after all, the main reason I did the rework,
to make this more comprehensible, so I suppose my mistake helped prove the
need :-) ]

Apologies to those on the CC list for whom I have accidentally removed your
test from the list. I'll work with David to get things fixed back the way
they were, and then we can do a new audit list of tests.

/Bruce

      reply	other threads:[~2023-09-15  8:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-14 16:07 Bruce Richardson
2023-09-15  7:55 ` David Marchand
2023-09-15  8:21   ` Bruce Richardson [this message]

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=ZQQUCyznQCh1rZdu@bricha3-MOBL.ger.corp.intel.com \
    --to=bruce.richardson@intel.com \
    --cc=abhinandan.gujjar@intel.com \
    --cc=anatoly.burakov@intel.com \
    --cc=anoobj@marvell.com \
    --cc=ashish.gupta@marvell.com \
    --cc=chas3@att.com \
    --cc=cristian.dumitrescu@intel.com \
    --cc=david.hunt@intel.com \
    --cc=david.marchand@redhat.com \
    --cc=dev@dpdk.org \
    --cc=erik.g.carrillo@intel.com \
    --cc=fanzhang.oss@gmail.com \
    --cc=gakhil@marvell.com \
    --cc=hemant.agrawal@nxp.com \
    --cc=honnappa.nagarahalli@arm.com \
    --cc=humin29@huawei.com \
    --cc=jerinj@marvell.com \
    --cc=kirankumark@marvell.com \
    --cc=konstantin.v.ananyev@yandex.ru \
    --cc=ndabilpuram@marvell.com \
    --cc=olivier.matz@6wind.com \
    --cc=reshma.pattan@intel.com \
    --cc=s.v.naga.harish.k@intel.com \
    --cc=sachin.saxena@nxp.com \
    --cc=stephen@networkplumber.org \
    --cc=vfialko@marvell.com \
    --cc=vladimir.medvedkin@intel.com \
    --cc=zhirun.yan@intel.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).