summaryrefslogtreecommitdiff
path: root/test/Kconfig
diff options
context:
space:
mode:
authorSimon Glass <[email protected]>2022-08-01 07:57:59 -0600
committerTom Rini <[email protected]>2022-08-10 13:38:30 -0400
commit29784d62eded89332254307bdb63ad8a7d8249d2 (patch)
treedec2e9893799a112503202ba10c871dc68bb1aad /test/Kconfig
parent5e2548c1d6e0331edbf94edcfc95d55b5e9a6cab (diff)
test: Add some tests for kconfig.h
The macros in this file are a little confusing and we currently have no tests to check that they work as expected. Add some tests which check the macros in C code. Add a few tests which check that the build errors are generated correctly too, using buildman's -a option. Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'test/Kconfig')
-rw-r--r--test/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Kconfig b/test/Kconfig
index 9b283a57ba9..a6b463e4d06 100644
--- a/test/Kconfig
+++ b/test/Kconfig
@@ -20,7 +20,7 @@ config SPL_UNIT_TEST
config UT_LIB
bool "Unit tests for library functions"
depends on UNIT_TEST
- default y
+ default y if !SANDBOX_VPL
help
Enables the 'ut lib' command which tests library functions like
memcat(), memcyp(), memmove() and ASN1 compiler/decoder.
@@ -99,5 +99,6 @@ config UT_UNICODE
source "test/dm/Kconfig"
source "test/env/Kconfig"
+source "test/lib/Kconfig"
source "test/optee/Kconfig"
source "test/overlay/Kconfig"