archive mirror
 help / color / mirror / Atom feed
From: Brendan Higgins <>
To: Daniel Latypov <>
Cc: David Gow <>,
	Linux Kernel Mailing List <>,
	KUnit Development <>,
	Shuah Khan <>
Subject: Re: [PATCH v3] kunit: add unit test for filtering suites by names
Date: Fri, 11 Jun 2021 14:40:11 -0700	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

On Tue, Apr 20, 2021 at 7:04 PM Daniel Latypov <> wrote:
> This adds unit tests for kunit_filter_subsuite() and
> kunit_filter_suites().
> Note: what the executor means by "subsuite" is the array of suites
> corresponding to each test file.
> This patch lightly refactors executor.c to avoid the use of global
> variables to make it testable.
> It also includes a clever `kfree_at_end()` helper that makes this test
> easier to write than it otherwise would have been.
> Tested by running just the new tests using itself
> $ ./tools/testing/kunit/ run '*exec*'
> Signed-off-by: Daniel Latypov <>
> Reviewed-by: David Gow <>

Acked-by: Brendan Higgins <>
Tested-by: Brendan Higgins <>

      parent reply	other threads:[~2021-06-11 21:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-21  2:04 [PATCH v3] kunit: add unit test for filtering suites by names Daniel Latypov
2021-04-21  6:03 ` David Gow
2021-06-11 21:40 ` Brendan Higgins [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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \ \ \

* 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).