aboutsummaryrefslogtreecommitdiffstats
path: root/test/Kconfig
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-10-26 14:31:17 -0400
committerTom Rini <trini@konsulko.com>2023-11-07 14:48:19 -0500
commit8b888917cae16e690ca0bda68dbcfae62928935d (patch)
treee97e869541714b2aba6a99c62ffd372ef51ca500 /test/Kconfig
parentd972192520af6db45b502130b5b1e2dfb21b89a1 (diff)
downloadu-boot-8b888917cae16e690ca0bda68dbcfae62928935d.tar.gz
test: Make UNIT_TEST depend on CMDLINE
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>
Diffstat (limited to 'test/Kconfig')
-rw-r--r--test/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/Kconfig b/test/Kconfig
index ca648d23376..c3db727c58e 100644
--- a/test/Kconfig
+++ b/test/Kconfig
@@ -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.