xref: /openbmc/linux/drivers/iio/test/Kconfig (revision 5fb859f7)
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	bool "Test IIO rescale conversion functions"
9	depends on KUNIT=y && IIO_RESCALE=y
10	default KUNIT_ALL_TESTS
11	help
12	  If you want to run tests on the iio-rescale code say Y here.
13
14	  This takes advantage of ARCH=um to run tests and should be used by
15	  developers to tests their changes to the rescaling logic.
16
17config IIO_TEST_FORMAT
18        bool "Test IIO formatting functions"
19        depends on KUNIT=y
20