]> git.sur5r.net Git - u-boot/blobdiff - test/Kconfig
test: Move the unit tests to their own menu
[u-boot] / test / Kconfig
index 32a974e28c8a82986bde2b3327933e0c757edff1..50d3a49c97470a60bf7686569d9f716c5f5ca8e6 100644 (file)
@@ -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