xref: /openbmc/linux/drivers/iio/test/Kconfig (revision 440b075b)
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_RESCALE_KUNIT_TEST
8	tristate "Test IIO rescale conversion functions" if !KUNIT_ALL_TESTS
9	depends on KUNIT && IIO_RESCALE
10	default KUNIT_ALL_TESTS
11	help
12	  Build unit tests for the iio-rescale code.
13
14	  For more information on KUnit and unit tests in general, please refer
15	  to the KUnit documentation in Documentation/dev-tools/kunit/.
16
17	  If unsure, say N.
18
19config IIO_FORMAT_KUNIT_TEST
20	tristate "Test IIO formatting functions" if !KUNIT_ALL_TESTS
21	depends on KUNIT
22	default KUNIT_ALL_TESTS
23	help
24	  build unit tests for the IIO formatting functions.
25
26	  For more information on KUnit and unit tests in general, please refer
27	  to the KUnit documentation in Documentation/dev-tools/kunit/.
28
29	  If unsure, say N.
30