From feb384725097cf00c22690a2298e653b9b62fb70 Mon Sep 17 00:00:00 2001 From: Joe Hershberger Date: Wed, 20 May 2015 14:27:31 -0500 Subject: 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 Acked-by: Simon Glass --- test/Kconfig | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'test/Kconfig') diff --git a/test/Kconfig b/test/Kconfig index 32a974e28c..50d3a49c97 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 -- cgit v1.2.1