mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-04 18:41:03 +00:00
421f86f329
Add a new "env" subcommand to the ut command. This will run unit tests on the env code. This should be targetable to any device that supports the env features needed for the tests. Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Reviewed-by: Simon Glass <sjg@chromium.org>
16 lines
338 B
C
16 lines
338 B
C
/*
|
|
* (C) Copyright 2015
|
|
* Joe Hershberger, National Instruments, joe.hershberger@ni.com
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0
|
|
*/
|
|
|
|
#ifndef __TEST_ENV_H__
|
|
#define __TEST_ENV_H__
|
|
|
|
#include <test/test.h>
|
|
|
|
/* Declare a new environment test */
|
|
#define ENV_TEST(_name, _flags) UNIT_TEST(_name, _flags, env_test)
|
|
|
|
#endif /* __TEST_ENV_H__ */
|