xref: /linux/drivers/iio/test/Kconfig (revision 79790b6818e96c58fe2bffee1b418c16e64e7b80)
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 formatting functions" 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