summaryrefslogtreecommitdiff
path: root/include/dm
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-03-07 17:34:45 -0700
committerTom Rini <trini@konsulko.com>2021-03-12 09:57:29 -0500
commit4bc639ee1181dc25df733da5de76ce4ea4b3f406 (patch)
treedc6d6976cb550f5b5d93f218bcce9acc89eab127 /include/dm
parent80b80d8944024eb1c8d8f0fc51cb4847d26ed3c9 (diff)
downloadu-boot-4bc639ee1181dc25df733da5de76ce4ea4b3f406.tar.gz
test: Mark all driver model tests with a flag
Add a flag for driver model tests, so we can do special processing for them. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/dm')
-rw-r--r--include/dm/test.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/dm/test.h b/include/dm/test.h
index 6ac6672cd6..dfbc82c756 100644
--- a/include/dm/test.h
+++ b/include/dm/test.h
@@ -143,7 +143,8 @@ struct dm_test_state {
};
/* Declare a new driver model test */
-#define DM_TEST(_name, _flags) UNIT_TEST(_name, _flags, dm_test)
+#define DM_TEST(_name, _flags) \
+ UNIT_TEST(_name, UT_TESTF_DM | (_flags), dm_test)
/*
* struct sandbox_sdl_plat - Platform data for the SDL video driver