1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-10-07 11:15:09 +02:00

test: Add a new suite for commands

Add a new suite for 'cmd' tests, used for testing commands. These are
kept in the test/cmd directory.

For now it is empty, but it will be used for coreboot-command tests.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2023-10-01 19:15:12 -06:00
committed by Tom Rini
parent 9565771076
commit 4001e5ab9b
5 changed files with 44 additions and 0 deletions

15
include/test/cmd.h Normal file
View File

@@ -0,0 +1,15 @@
/* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright 2023 Google LLC
* Written by Simon Glass <sjg@chromium.org>
*/
#ifndef __TEST_CMD_H__
#define __TEST_CMD_H__
#include <test/test.h>
/* Declare a new command test */
#define CMD_TEST(_name, _flags) UNIT_TEST(_name, _flags, cmd_test)
#endif /* __TEST_CMD_H__ */