Joe Hershberger | 437176b | 2015-05-20 14:27:31 -0500 | [diff] [blame] | 1 | menuconfig UNIT_TEST |
| 2 | bool "Unit tests" |
| 3 | help |
| 4 | Select this to compile in unit tests for various parts of |
| 5 | U-Boot. Test suites will be subcommands of the "ut" command. |
| 6 | This does not require sandbox to be included, but it is most |
| 7 | often used there. |
Joe Hershberger | 3a77be5 | 2015-05-20 14:27:27 -0500 | [diff] [blame] | 8 | |
Heinrich Schuchardt | f77a635 | 2019-01-30 07:53:31 +0100 | [diff] [blame] | 9 | config UT_LIB |
| 10 | bool "Unit tests for library functions" |
| 11 | depends on UNIT_TEST |
| 12 | default y |
| 13 | help |
| 14 | Enables the 'ut lib' command which tests library functions like |
| 15 | memcat(), memcyp(), memmove(). |
| 16 | |
Joe Hershberger | ee20efe | 2015-05-20 14:27:30 -0500 | [diff] [blame] | 17 | config UT_TIME |
Simon Glass | 9b4221b | 2015-05-02 09:25:02 -0600 | [diff] [blame] | 18 | bool "Unit tests for time functions" |
Joe Hershberger | 437176b | 2015-05-20 14:27:31 -0500 | [diff] [blame] | 19 | depends on UNIT_TEST |
Simon Glass | 9b4221b | 2015-05-02 09:25:02 -0600 | [diff] [blame] | 20 | help |
Joe Hershberger | ee20efe | 2015-05-20 14:27:30 -0500 | [diff] [blame] | 21 | Enables the 'ut time' command which tests that the time functions |
Simon Glass | 9b4221b | 2015-05-02 09:25:02 -0600 | [diff] [blame] | 22 | work correctly. The test is fairly simple and will not catch all |
| 23 | problems. But if you are having problems with udelay() and the like, |
| 24 | this is a good place to start. |
| 25 | |
Heinrich Schuchardt | b8b6c81 | 2018-08-31 21:31:28 +0200 | [diff] [blame] | 26 | config UT_UNICODE |
| 27 | bool "Unit tests for Unicode functions" |
| 28 | depends on UNIT_TEST |
| 29 | default y |
| 30 | help |
| 31 | Enables the 'ut unicode' command which tests that the functions for |
| 32 | manipulating Unicode strings work correctly. |
| 33 | |
Simon Glass | 9dd430d | 2015-02-05 21:41:37 -0700 | [diff] [blame] | 34 | source "test/dm/Kconfig" |
Joe Hershberger | 26e038f | 2015-05-20 14:27:36 -0500 | [diff] [blame] | 35 | source "test/env/Kconfig" |
Maxime Ripard | 0e31a11 | 2016-07-05 10:26:46 +0200 | [diff] [blame] | 36 | source "test/overlay/Kconfig" |