mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: barebox@lists.infradead.org
Cc: Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: [PATCH 2/4] test: self: always build envvar test when SELFTEST_ENABLE_ALL
Date: Mon, 10 Oct 2022 08:14:35 +0200	[thread overview]
Message-ID: <20221010061437.2085412-2-a.fatoum@pengutronix.de> (raw)
In-Reply-To: <20221010061437.2085412-1-a.fatoum@pengutronix.de>

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@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




  reply	other threads:[~2022-10-10  6:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-10  6:14 [PATCH 1/4] test: self: change CONFIG_CMD_SELFTEST default to y Ahmad Fatoum
2022-10-10  6:14 ` Ahmad Fatoum [this message]
2022-10-10  6:14 ` [PATCH 3/4] test: self: add ramfs test Ahmad Fatoum
2022-10-10  6:14 ` [PATCH 4/4] fs: implement unreaddir Ahmad Fatoum
2022-10-11 15:02 ` [PATCH 1/4] test: self: change CONFIG_CMD_SELFTEST default to y Sascha Hauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221010061437.2085412-2-a.fatoum@pengutronix.de \
    --to=a.fatoum@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox