u-boot/include/test/hush.h
Francis Laniel cb1277cc4d test: Add framework to test hush behavior
Introduce a new subcommand to ut: ut hush.
For the moment, this command does nothing, future commits will add tests which
will be run on command call.

Note that CONFIG_HUSH_PARSER must be defined to compile this new subcommand.

Signed-off-by: Francis Laniel <francis.laniel@amarulasolutions.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2023-12-28 12:02:56 -05:00

15 lines
352 B
C

/* SPDX-License-Identifier: GPL-2.0 */
/*
* (C) Copyright 2021
* Francis Laniel, Amarula Solutions, francis.laniel@amarulasolutions.com
*/
#ifndef __TEST_HUSH_H__
#define __TEST_HUSH_H__
#include <test/test.h>
/* Declare a new environment test */
#define HUSH_TEST(_name, _flags) UNIT_TEST(_name, _flags, hush_test)
#endif /* __TEST_HUSH_H__ */