summaryrefslogtreecommitdiff
path: root/include/test/ut.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/test/ut.h')
-rw-r--r--include/test/ut.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/test/ut.h b/include/test/ut.h
index 18740f5807..f7d1d18f7c 100644
--- a/include/test/ut.h
+++ b/include/test/ut.h
@@ -403,9 +403,10 @@ void test_set_state(struct unit_test_state *uts);
* @count: Number of tests to run
* @select_name: Name of a single test to run (from the list provided). If NULL
* then all tests are run
+ * @runs_per_test: Number of times to run each test (typically 1)
* Return: 0 if all tests passed, -1 if any failed
*/
int ut_run_list(const char *name, const char *prefix, struct unit_test *tests,
- int count, const char *select_name);
+ int count, const char *select_name, int runs_per_test);
#endif