mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-06 05:04:26 +00:00
2dd0111adc
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>
14 lines
319 B
C
14 lines
319 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* Copyright (c) 2019 Heinrich Schuchardt <xypron.glpk@gmx.de>
|
|
*/
|
|
|
|
#ifndef __TEST_LIB_H__
|
|
#define __TEST_LIB_H__
|
|
|
|
#include <test/test.h>
|
|
|
|
/* Declare a new library function test */
|
|
#define LIB_TEST(_name, _flags) UNIT_TEST(_name, _flags, lib_test)
|
|
|
|
#endif /* __TEST_LIB_H__ */
|