mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-24 21:54:01 +00:00
421f86f329
Add a new "env" subcommand to the ut command. This will run unit tests on the env code. This should be targetable to any device that supports the env features needed for the tests. Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Reviewed-by: Simon Glass <sjg@chromium.org>
19 lines
633 B
Text
19 lines
633 B
Text
menuconfig UNIT_TEST
|
|
bool "Unit tests"
|
|
help
|
|
Select this to compile in unit tests for various parts of
|
|
U-Boot. Test suites will be subcommands of the "ut" command.
|
|
This does not require sandbox to be included, but it is most
|
|
often used there.
|
|
|
|
config UT_TIME
|
|
bool "Unit tests for time functions"
|
|
depends on UNIT_TEST
|
|
help
|
|
Enables the 'ut time' command which tests that the time functions
|
|
work correctly. The test is fairly simple and will not catch all
|
|
problems. But if you are having problems with udelay() and the like,
|
|
this is a good place to start.
|
|
|
|
source "test/dm/Kconfig"
|
|
source "test/env/Kconfig"
|