xref: /linux/drivers/iio/test/Kconfig (revision ca220141fa8ebae09765a242076b2b77338106b0)
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	default KUNIT_ALL_TESTS
12	help
13	  build unit tests for the IIO light sensor gain-time-scale helpers.
14
15	  For more information on KUnit and unit tests in general, please refer
16	  to the KUnit documentation in Documentation/dev-tools/kunit/.
17
18	  If unsure, say N. Keep in alphabetical order
19
20config IIO_RESCALE_KUNIT_TEST
21	tristate "Test IIO rescale conversion functions" if !KUNIT_ALL_TESTS
22	depends on KUNIT && IIO_RESCALE
23	default KUNIT_ALL_TESTS
24	help
25	  Build unit tests for the iio-rescale code.
26
27	  For more information on KUnit and unit tests in general, please refer
28	  to the KUnit documentation in Documentation/dev-tools/kunit/.
29
30	  If unsure, say N.
31
32config IIO_FORMAT_KUNIT_TEST
33	tristate "Test IIO formatting functions" if !KUNIT_ALL_TESTS
34	depends on KUNIT
35	default KUNIT_ALL_TESTS
36	help
37	  build unit tests for the IIO formatting functions.
38
39	  For more information on KUnit and unit tests in general, please refer
40	  to the KUnit documentation in Documentation/dev-tools/kunit/.
41
42	  If unsure, say N.
43
44config IIO_MULTIPLY_KUNIT_TEST
45	tristate "Test IIO multiply functions" if !KUNIT_ALL_TESTS
46	depends on KUNIT
47	default KUNIT_ALL_TESTS
48	help
49	  build unit tests for the IIO multiply functions.
50
51	  For more information on KUnit and unit tests in general, please refer
52	  to the KUnit documentation in Documentation/dev-tools/kunit/.
53
54	  If unsure, say N.
55