summaryrefslogtreecommitdiff
path: root/test/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'test/Kconfig')
-rw-r--r--test/Kconfig14
1 files changed, 12 insertions, 2 deletions
diff --git a/test/Kconfig b/test/Kconfig
index 3270c84213..d71c332eee 100644
--- a/test/Kconfig
+++ b/test/Kconfig
@@ -1,9 +1,19 @@
-config CMD_UT_TIME
+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
+ 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"