mirror of
https://github.com/torvalds/linux.git
synced 2024-11-15 08:31:55 +00:00
0565d238b9
Rework the IIO test Kconfig to support building KUnit tests as modules. This lets users execute tests at runtime in addition to the usual tools/testing/kunit/kunit.py script. Signed-off-by: Liam Beguin <liambeguin@gmail.com> Link: https://lore.kernel.org/r/20220710013109.3349104-6-liambeguin@gmail.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
30 lines
853 B
Plaintext
30 lines
853 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# Industrial I/O subsystem unit tests configuration
|
|
#
|
|
|
|
# Keep in alphabetical order
|
|
config IIO_RESCALE_KUNIT_TEST
|
|
tristate "Test IIO rescale conversion functions" if !KUNIT_ALL_TESTS
|
|
depends on KUNIT && IIO_RESCALE
|
|
default KUNIT_ALL_TESTS
|
|
help
|
|
Build unit tests for the iio-rescale code.
|
|
|
|
For more information on KUnit and unit tests in general, please refer
|
|
to the KUnit documentation in Documentation/dev-tools/kunit/.
|
|
|
|
If unsure, say N.
|
|
|
|
config IIO_FORMAT_KUNIT_TEST
|
|
tristate "Test IIO formatting functions" if !KUNIT_ALL_TESTS
|
|
depends on KUNIT
|
|
default KUNIT_ALL_TESTS
|
|
help
|
|
build unit tests for the IIO formatting functions.
|
|
|
|
For more information on KUnit and unit tests in general, please refer
|
|
to the KUnit documentation in Documentation/dev-tools/kunit/.
|
|
|
|
If unsure, say N.
|