u-boot/include/test/env.h
Joe Hershberger 421f86f329 test: env: Add test framework for env
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>
2015-05-21 09:16:18 -04:00

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__ */