2020-12-15 19:17:43 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
#
|
|
|
|
# Industrial I/O subsystem unit tests configuration
|
|
|
|
#
|
|
|
|
|
|
|
|
# Keep in alphabetical order
|
2024-01-15 14:26:07 +00:00
|
|
|
config IIO_GTS_KUNIT_TEST
|
|
|
|
tristate "Test IIO formatting functions" if !KUNIT_ALL_TESTS
|
|
|
|
depends on KUNIT
|
|
|
|
select IIO_GTS_HELPER
|
|
|
|
select TEST_KUNIT_DEVICE_HELPERS
|
|
|
|
default KUNIT_ALL_TESTS
|
|
|
|
help
|
|
|
|
build unit tests for the IIO light sensor gain-time-scale helpers.
|
|
|
|
|
|
|
|
For more information on KUnit and unit tests in general, please refer
|
|
|
|
to the KUnit documentation in Documentation/dev-tools/kunit/.
|
|
|
|
|
|
|
|
If unsure, say N. Keep in alphabetical order
|
|
|
|
|
2022-02-13 02:57:35 +00:00
|
|
|
config IIO_RESCALE_KUNIT_TEST
|
2022-07-10 01:31:09 +00:00
|
|
|
tristate "Test IIO rescale conversion functions" if !KUNIT_ALL_TESTS
|
|
|
|
depends on KUNIT && IIO_RESCALE
|
2022-02-13 02:57:35 +00:00
|
|
|
default KUNIT_ALL_TESTS
|
|
|
|
help
|
2022-07-10 01:31:09 +00:00
|
|
|
Build unit tests for the iio-rescale code.
|
2022-02-13 02:57:35 +00:00
|
|
|
|
2022-07-10 01:31:09 +00:00
|
|
|
For more information on KUnit and unit tests in general, please refer
|
|
|
|
to the KUnit documentation in Documentation/dev-tools/kunit/.
|
|
|
|
|
|
|
|
If unsure, say N.
|
2022-02-13 02:57:35 +00:00
|
|
|
|
2022-07-10 01:31:07 +00:00
|
|
|
config IIO_FORMAT_KUNIT_TEST
|
2022-07-10 01:31:09 +00:00
|
|
|
tristate "Test IIO formatting functions" if !KUNIT_ALL_TESTS
|
|
|
|
depends on KUNIT
|
|
|
|
default KUNIT_ALL_TESTS
|
|
|
|
help
|
|
|
|
build unit tests for the IIO formatting functions.
|
|
|
|
|
|
|
|
For more information on KUnit and unit tests in general, please refer
|
|
|
|
to the KUnit documentation in Documentation/dev-tools/kunit/.
|
|
|
|
|
|
|
|
If unsure, say N.
|