mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-30 05:48:51 +09:00
![Heinrich Schuchardt](/assets/img/avatar_default.png)
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>
15 lines
319 B
C
15 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__ */
|