summaryrefslogtreecommitdiffstats
path: root/test/Kconfig
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2019-01-30 07:53:31 +0100
committerTom Rini <trini@konsulko.com>2019-02-09 07:50:53 -0500
commit2dd0111adc8a5a03388f557d1ca91295276fbb54 (patch)
tree39c36f8509e08b5463e09d6aa7dfadef8492204d /test/Kconfig
parenteca61ae70c80ce42272ab8b999750d925f0ad85c (diff)
downloadu-boot-2dd0111adc8a5a03388f557d1ca91295276fbb54.tar.gz
u-boot-2dd0111adc8a5a03388f557d1ca91295276fbb54.tar.xz
u-boot-2dd0111adc8a5a03388f557d1ca91295276fbb54.zip
test: provide unit test for memory functions
Memory functions may have architecture specific implementations. These should be tested. Provide unit tests for memset(), memcpy(), memmove(). Provide a 'ut lib' sub-command to execute the tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test/Kconfig')
-rw-r--r--test/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/Kconfig b/test/Kconfig
index de16d179d0..48a0e501f8 100644
--- a/test/Kconfig
+++ b/test/Kconfig
@@ -6,6 +6,14 @@ menuconfig UNIT_TEST
This does not require sandbox to be included, but it is most
often used there.
+config UT_LIB
+ bool "Unit tests for library functions"
+ depends on UNIT_TEST
+ default y
+ help
+ Enables the 'ut lib' command which tests library functions like
+ memcat(), memcyp(), memmove().
+
config UT_TIME
bool "Unit tests for time functions"
depends on UNIT_TEST