aboutsummaryrefslogtreecommitdiff
path: root/include/dm/test.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/dm/test.h')
-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 6ac6672..dfbc82c 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