xref: /openbmc/u-boot/test/Kconfig (revision 2ca47137)
1menuconfig 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.
8
9config 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
17config UT_TIME
18	bool "Unit tests for time functions"
19	depends on UNIT_TEST
20	help
21	  Enables the 'ut time' command which tests that the time functions
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
26config 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
34source "test/dm/Kconfig"
35source "test/env/Kconfig"
36source "test/overlay/Kconfig"
37