]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
test: Make UNIT_TEST depend on CMDLINE
authorSimon Glass <sjg@chromium.org>
Thu, 26 Oct 2023 18:31:17 +0000 (14:31 -0400)
committerTom Rini <trini@konsulko.com>
Tue, 7 Nov 2023 19:48:19 +0000 (14:48 -0500)
Many tests make some use of the command line, so require it for all test
code.

This could be teased apart, perhaps with a test flag indicating that it
uses the command line. Leave that for later.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
test/Kconfig

index ca648d23376f9cf50fd2b605f92b450847b77a1e..c3db727c58e38dbbb7498a23ac128dc81b81331e 100644 (file)
@@ -2,6 +2,7 @@ menu "Testing"
 
 config UNIT_TEST
        bool "Unit tests"
+       depends on CMDLINE
        help
          Select this to compile in unit tests for various parts of
          U-Boot. Test suites will be subcommands of the "ut" command.