]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commit3474992c7dba01000d80d3b3ee98b7faf5040cf5
tree39c36f8509e08b5463e09d6aa7dfadef8492204d
parent600b48283ab74e23608d73e6a66cdadd04385e9b
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]