summaryrefslogtreecommitdiff
path: root/test/Kconfig
diff options
context:
space:
mode:
authorJoe Hershberger <joe.hershberger@ni.com>2015-05-20 14:27:31 -0500
committerTom Rini <trini@konsulko.com>2015-05-21 09:16:17 -0400
commitfeb384725097cf00c22690a2298e653b9b62fb70 (patch)
tree752796995dc5f438f44cbdd8aa323ac6ebf519a8 /test/Kconfig
parentc812f722f8bdf2785cfebf4fd272afe2117d6469 (diff)
downloadu-boot-imx-feb384725097cf00c22690a2298e653b9b62fb70.zip
u-boot-imx-feb384725097cf00c22690a2298e653b9b62fb70.tar.gz
u-boot-imx-feb384725097cf00c22690a2298e653b9b62fb70.tar.bz2
test: Move the unit tests to their own menu
Make all unit tests selectable as a menu of test suites instead of just sitting in the top-level menu individually. Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test/Kconfig')
-rw-r--r--test/Kconfig11
1 files changed, 8 insertions, 3 deletions
diff --git a/test/Kconfig b/test/Kconfig
index 32a974e..50d3a49 100644
--- a/test/Kconfig
+++ b/test/Kconfig
@@ -1,9 +1,14 @@
-config UNIT_TEST
- bool
+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"
- select UNIT_TEST
+ 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