mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] regmap: add default KUnit config
@ 2024-12-31 10:04 Sander Vanheule
  2025-01-06 12:45 ` Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Sander Vanheule @ 2024-12-31 10:04 UTC (permalink / raw)
  To: Mark Brown, Greg Kroah-Hartman, Rafael J. Wysocki, linux-kernel
  Cc: Sander Vanheule

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-01-06 12:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-12-31 10:04 [PATCH] regmap: add default KUnit config Sander Vanheule
2025-01-06 12:45 ` Mark Brown

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®