mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-31 14:28:52 +09:00
![Joe Hershberger](/assets/img/avatar_default.png)
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>
17 lines
338 B
C
17 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__ */
|