forked from Minki/linux
aa811e3cec
Currently the property entry kunit tests are built if CONFIG_KUNIT=y.
This will cause warnings when merged with the kunit tree that now
supports tristate CONFIG_KUNIT. While the tests appear to compile
as a module, we get a warning about missing module license.
It's better to have a per-test suite CONFIG variable so that
we can do selective building of kunit-based suites, and can
also avoid merge issues like this.
Fixes: c032ace71c
("software node: add basic tests for property entries")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Alan Maguire <alan.maguire@oracle.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
14 lines
440 B
Plaintext
14 lines
440 B
Plaintext
# SPDX-License-Identifier: GPL-2.0
|
|
config TEST_ASYNC_DRIVER_PROBE
|
|
tristate "Build kernel module to test asynchronous driver probing"
|
|
depends on m
|
|
help
|
|
Enabling this option produces a kernel module that allows
|
|
testing asynchronous driver probing by the device core.
|
|
The module name will be test_async_driver_probe.ko
|
|
|
|
If unsure say N.
|
|
config KUNIT_DRIVER_PE_TEST
|
|
bool "KUnit Tests for property entry API"
|
|
depends on KUNIT=y
|