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

* Re: [PATCH] regmap: add default KUnit config
  2024-12-31 10:04 [PATCH] regmap: add default KUnit config Sander Vanheule
@ 2025-01-06 12:45 ` Mark Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2025-01-06 12:45 UTC (permalink / raw)
  To: Sander Vanheule; +Cc: Greg Kroah-Hartman, Rafael J. Wysocki, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 522 bytes --]

On Tue, Dec 31, 2024 at 11:04:22AM +0100, Sander Vanheule wrote:
> 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

This should already be in the standard KUnit all tests config, we
shouldn't be duplicating like this (or should refactor things so that
KUnit does something like find all config fragements).

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ 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®