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] test: enable JSON web token support in full.config
Date: Tue, 15 Oct 2024 10:24:45 +0200	[thread overview]
Message-ID: <20241015082445.1670430-1-a.fatoum@pengutronix.de> (raw)

full.config is meant to be a snippet that enables as much as possible to
increase coverage beyond what's in the defconfig, e.g. to enable
selftests for a wider range of functionality.

We have no configs enabling CONFIG_JWT, so this is currently not tested.
Enable it in full.config to increase test coverage.

Next step would be enabling this for CI. This will have to wait until a
bthread related failure for x86 is fixed, which will be tackled
separately.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
 common/boards/configs/full.config | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/common/boards/configs/full.config b/common/boards/configs/full.config
index 547100bacc39..8c42b431f970 100644
--- a/common/boards/configs/full.config
+++ b/common/boards/configs/full.config
@@ -1,3 +1,9 @@
+CONFIG_COMPILE_TEST=y
 CONFIG_BTHREAD=y
 CONFIG_CMD_BTHREAD=y
 CONFIG_PROGRESS_NOTIFIER=y
+CONFIG_JWT=y
+CONFIG_DIGEST=y
+CONFIG_DIGEST_SHA256_GENERIC=y
+CONFIG_DIGEST_SHA384_GENERIC=y
+CONFIG_DIGEST_SHA512_GENERIC=y
-- 
2.39.5




             reply	other threads:[~2024-10-15  8:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-15  8:24 Ahmad Fatoum [this message]
2024-10-18  8:43 ` 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=20241015082445.1670430-1-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