diff options
author | Simon Glass <sjg@chromium.org> | 2023-10-01 19:15:12 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-12-13 18:39:04 -0500 |
commit | 4001e5ab9b9bd4735798477531c68cdf26951d7c (patch) | |
tree | 2731ae56bd732010f47a3deeb53787638bd61a6a /include/test/cmd.h | |
parent | 9565771076c2d4b0193f1741b3990695ac33c1f3 (diff) |
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>
Diffstat (limited to 'include/test/cmd.h')
-rw-r--r-- | include/test/cmd.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/test/cmd.h b/include/test/cmd.h new file mode 100644 index 00000000000..c200570e423 --- /dev/null +++ b/include/test/cmd.h @@ -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__ */ |