regmap: add default KUnit config
Subsystems (2)
PATCH 1/1 regmap: add default KUnit config
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/.kunitconfigSigned-off-by Sander Vanheule <[email protected]>
--- drivers/base/regmap/.kunitconfig | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 drivers/base/regmap/.kunitconfig
drivers/base/regmap/.kunitconfig new file +3 -0
@@ -0,0 +1,3 @@ +CONFIG_KUNIT=y +CONFIG_REGMAP_BUILD=y +CONFIG_REGMAP_KUNIT=y
Signature · 1 line
2.47.1
Mark Brown
maintainerQuoted 5 lines · 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.pytool:./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).