* [PATCH] test: enable JSON web token support in full.config
@ 2024-10-15 8:24 Ahmad Fatoum
2024-10-18 8:43 ` Sascha Hauer
0 siblings, 1 reply; 2+ messages in thread
From: Ahmad Fatoum @ 2024-10-15 8:24 UTC (permalink / raw)
To: barebox; +Cc: Ahmad Fatoum
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] test: enable JSON web token support in full.config
2024-10-15 8:24 [PATCH] test: enable JSON web token support in full.config Ahmad Fatoum
@ 2024-10-18 8:43 ` Sascha Hauer
0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2024-10-18 8:43 UTC (permalink / raw)
To: barebox, Ahmad Fatoum
On Tue, 15 Oct 2024 10:24:45 +0200, Ahmad Fatoum wrote:
> 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.
>
> [...]
Applied, thanks!
[1/1] test: enable JSON web token support in full.config
https://git.pengutronix.de/cgit/barebox/commit/?id=7733ac4abb33 (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer@pengutronix.de>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-10-18 8:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-10-15 8:24 [PATCH] test: enable JSON web token support in full.config Ahmad Fatoum
2024-10-18 8:43 ` Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox