test: provide unit test for memory functions
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Wed, 30 Jan 2019 06:53:31 +0000 (07:53 +0100)
committerTom Rini <trini@konsulko.com>
Sat, 9 Feb 2019 12:50:53 +0000 (07:50 -0500)
commit2dd0111adc8a5a03388f557d1ca91295276fbb54
tree39c36f8509e08b5463e09d6aa7dfadef8492204d
parenteca61ae70c80ce42272ab8b999750d925f0ad85c
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>
include/test/lib.h [new file with mode: 0644]
include/test/suites.h
test/Kconfig
test/cmd_ut.c
test/lib/Makefile
test/lib/cmd_ut_lib.c [new file with mode: 0644]
test/lib/string.c [new file with mode: 0644]