1 # SPDX-License-Identifier: GPL-2.0-only
3 # Industrial I/O subsystem unit tests configuration
6 # Keep in alphabetical order
7 config IIO_GTS_KUNIT_TEST
8 tristate "Test IIO formatting functions" if !KUNIT_ALL_TESTS
11 select TEST_KUNIT_DEVICE_HELPERS
12 default KUNIT_ALL_TESTS
14 build unit tests for the IIO light sensor gain-time-scale helpers.
16 For more information on KUnit and unit tests in general, please refer
17 to the KUnit documentation in Documentation/dev-tools/kunit/.
19 If unsure, say N. Keep in alphabetical order
21 config IIO_RESCALE_KUNIT_TEST
22 tristate "Test IIO rescale conversion functions" if !KUNIT_ALL_TESTS
23 depends on KUNIT && IIO_RESCALE
24 default KUNIT_ALL_TESTS
26 Build unit tests for the iio-rescale code.
28 For more information on KUnit and unit tests in general, please refer
29 to the KUnit documentation in Documentation/dev-tools/kunit/.
33 config IIO_FORMAT_KUNIT_TEST
34 tristate "Test IIO formatting functions" if !KUNIT_ALL_TESTS
36 default KUNIT_ALL_TESTS
38 build unit tests for the IIO formatting functions.
40 For more information on KUnit and unit tests in general, please refer
41 to the KUnit documentation in Documentation/dev-tools/kunit/.