[PATCH 2/4] test: self: always build envvar test when SELFTEST_ENABLE_ALL

Ahmad Fatoum a.fatoum at pengutronix.de
Sun Oct 9 23:14:35 PDT 2022


The test can cope with CONFIG_ENVIRONMENT_VARIABLES being disabled and
just skips the tests that can't run without. This still has value,
because it tests barebox behavior without environment variables enabled.

Therefore, enable the test always for CONFIG_SELFTEST_ENABLE_ALL=y

Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
 test/self/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/self/Kconfig b/test/self/Kconfig
index 5d984e30b226..4bf4b874d5e4 100644
--- a/test/self/Kconfig
+++ b/test/self/Kconfig
@@ -32,7 +32,7 @@ config SELFTEST_ENABLE_ALL
 	select SELFTEST_MALLOC
 	select SELFTEST_PROGRESS_NOTIFIER
 	select SELFTEST_OF_MANIPULATION
-	select SELFTEST_ENVIRONMENT_VARIABLES if ENVIRONMENT_VARIABLES
+	select SELFTEST_ENVIRONMENT_VARIABLES
 	help
 	  Selects all self-tests compatible with current configuration
 
-- 
2.30.2




More information about the barebox mailing list