mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Sander Vanheule <sander@svanheule.net>
To: Mark Brown <broonie@kernel.org>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	"Rafael J. Wysocki" <rafael@kernel.org>,
	linux-kernel@vger.kernel.org
Cc: Sander Vanheule <sander@svanheule.net>
Subject: [PATCH] regmap: add default KUnit config
Date: Tue, 31 Dec 2024 11:04:22 +0100	[thread overview]
Message-ID: <20241231100424.196141-1-sander@svanheule.net> (raw)

Add a .kunitconfig file with the required defaults to run the regmap
KUnit tests. This allows to easily run the tests with the kunit.py tool:

    ./tools/testing/kunit/kunit.py run \
            --kunitconfig=./drivers/base/regmap/.kunitconfig

Signed-off-by: Sander Vanheule <sander@svanheule.net>
---
 drivers/base/regmap/.kunitconfig | 3 +++
 1 file changed, 3 insertions(+)
 create mode 100644 drivers/base/regmap/.kunitconfig

diff --git a/drivers/base/regmap/.kunitconfig b/drivers/base/regmap/.kunitconfig
new file mode 100644
index 000000000000..1bb92d8d3084
--- /dev/null
+++ b/drivers/base/regmap/.kunitconfig
@@ -0,0 +1,3 @@
+CONFIG_KUNIT=y
+CONFIG_REGMAP_BUILD=y
+CONFIG_REGMAP_KUNIT=y
-- 
2.47.1


             reply	other threads:[~2024-12-31 10:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-31 10:04 Sander Vanheule [this message]
2025-01-06 12:45 ` Mark Brown

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=20241231100424.196141-1-sander@svanheule.net \
    --to=sander@svanheule.net \
    --cc=broonie@kernel.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rafael@kernel.org \
    /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

all inboxes | Powered by JetHome®