summaryrefslogtreecommitdiff
path: root/include/test/cmd.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2023-12-13 16:02:38 -0500
committerTom Rini <trini@konsulko.com>2023-12-13 18:39:06 -0500
commit86f623dcf89c6037b34788650c42b02b501e6d27 (patch)
tree504c8045e6505a08fa4a2ae6355a220d2d9dd98b /include/test/cmd.h
parent9565771076c2d4b0193f1741b3990695ac33c1f3 (diff)
parent229c4da6ca183b91f2ad928ecec47e073bce1b1a (diff)
Merge tag 'dm-next-13dec23' of https://gitlab.denx.de/u-boot/custodians/u-boot-dm into next
minor improvements to test, acpi updates for new PyPl release
Diffstat (limited to 'include/test/cmd.h')
-rw-r--r--include/test/cmd.h15
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__ */