File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
subsys/testsuite/ztest/include/zephyr Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -93,6 +93,7 @@ extern struct ztest_suite_node _ztest_suite_node_list_end[];
93
93
* @param state The current state of the machine as it relates to the test executable.
94
94
* @return The number of tests that ran.
95
95
*/
96
+ __deprecated
96
97
int ztest_run_registered_test_suites (const void * state );
97
98
98
99
/**
@@ -104,6 +105,7 @@ int ztest_run_registered_test_suites(const void *state);
104
105
* may be called at the end of test_main(). It will cause the test to fail if any suite was
105
106
* registered but never ran.
106
107
*/
108
+ __deprecated
107
109
void ztest_verify_all_registered_test_suites_ran (void );
108
110
109
111
/**
@@ -273,14 +275,14 @@ extern struct k_mem_partition ztest_mem_partition;
273
275
*
274
276
* @param suite Name of the testing suite
275
277
*/
276
- #define ztest_test_suite (suite , ...) \
278
+ #define ztest_test_suite (suite , ...) __DEPRECATED_MACRO \
277
279
static ZTEST_DMEM struct unit_test _##suite[] = { __VA_ARGS__, { 0 } }
278
280
/**
279
281
* @brief Run the specified test suite.
280
282
*
281
283
* @param suite Test suite to run.
282
284
*/
283
- #define ztest_run_test_suite (suite ) \
285
+ #define ztest_run_test_suite (suite ) __DEPRECATED_MACRO \
284
286
z_ztest_run_test_suite(#suite, _##suite)
285
287
286
288
/**
You can’t perform that action at this time.
0 commit comments