xref: /linux/drivers/iio/test/Kconfig (revision 4f38da1f027ea2c9f01bb71daa7a299c191b6940)
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# Industrial I/O subsystem unit tests configuration
4#
5
6# Keep in alphabetical order
7config IIO_GTS_KUNIT_TEST
8	tristate "Test IIO gain-time-scale helpers" if !KUNIT_ALL_TESTS
9	depends on KUNIT
10	select IIO_GTS_HELPER
11	select TEST_KUNIT_DEVICE_HELPERS
12	default KUNIT_ALL_TESTS
13	help
14	  build unit tests for the IIO light sensor gain-time-scale helpers.
15
16	  For more information on KUnit and unit tests in general, please refer
17	  to the KUnit documentation in Documentation/dev-tools/kunit/.
18
19	  If unsure, say N. Keep in alphabetical order
20
21config 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
25	help
26	  Build unit tests for the iio-rescale code.
27
28	  For more information on KUnit and unit tests in general, please refer
29	  to the KUnit documentation in Documentation/dev-tools/kunit/.
30
31	  If unsure, say N.
32
33config IIO_FORMAT_KUNIT_TEST
34	tristate "Test IIO formatting functions" if !KUNIT_ALL_TESTS
35	depends on KUNIT
36	default KUNIT_ALL_TESTS
37	help
38	  build unit tests for the IIO formatting functions.
39
40	  For more information on KUnit and unit tests in general, please refer
41	  to the KUnit documentation in Documentation/dev-tools/kunit/.
42
43	  If unsure, say N.
44
45config IIO_MULTIPLY_KUNIT_TEST
46	tristate "Test IIO multiply functions" if !KUNIT_ALL_TESTS
47	depends on KUNIT
48	default KUNIT_ALL_TESTS
49	help
50	  build unit tests for the IIO multiply functions.
51
52	  For more information on KUnit and unit tests in general, please refer
53	  to the KUnit documentation in Documentation/dev-tools/kunit/.
54
55	  If unsure, say N.
56