mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-08-13 18:56:59 +02:00
Rather than having an init function and then running the tests, create a test-init function to do it. This will allow us to get rid of the command function. Signed-off-by: Simon Glass <sjg@chromium.org>
20 lines
480 B
C
20 lines
480 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* Copyright (c) 2016 NextThing Co
|
|
* Copyright (c) 2016 Free Electrons
|
|
*/
|
|
|
|
#ifndef __TEST_OVERLAY_H__
|
|
#define __TEST_OVERLAY_H__
|
|
|
|
#include <test/test.h>
|
|
|
|
/* Declare a new FDT-overlay test */
|
|
#define FDT_OVERLAY_TEST(_name, _flags) UNIT_TEST(_name, _flags, fdt_overlay)
|
|
|
|
/* Declare init for FDT-overlay test */
|
|
#define FDT_OVERLAY_TEST_INIT(_name, _flags) \
|
|
UNIT_TEST_INIT(_name, _flags, fdt_overlay)
|
|
|
|
#endif /* __TEST_OVERLAY_H__ */
|