On Tue, 29 Jan 2019 at 23:53, Heinrich Schuchardt <xypron.g...@gmx.de> wrote: > > 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.g...@gmx.de> > --- > v2 > vary alignment and length of copied or set memory region > --- > include/test/lib.h | 14 +++ > include/test/suites.h | 1 + > test/Kconfig | 8 ++ > test/cmd_ut.c | 6 ++ > test/lib/Makefile | 2 + > test/lib/cmd_ut_lib.c | 20 +++++ > test/lib/string.c | 194 ++++++++++++++++++++++++++++++++++++++++++ > 7 files changed, 245 insertions(+) > create mode 100644 include/test/lib.h > create mode 100644 test/lib/cmd_ut_lib.c > create mode 100644 test/lib/string.c >
Reviewed-by: Simon Glass <s...@chromium.org> _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot