kernel_perf: update to 2.5.1 version
This commit is contained in:
@@ -128,6 +128,8 @@ TEST test_tos_mutex_create(void)
|
||||
PASS();
|
||||
}
|
||||
|
||||
#if TOS_CFG_OBJ_DYNAMIC_CREATE_EN > 0u
|
||||
|
||||
TEST test_tos_mutex_create_dyn(void)
|
||||
{
|
||||
k_err_t err;
|
||||
@@ -135,12 +137,14 @@ TEST test_tos_mutex_create_dyn(void)
|
||||
err = tos_mutex_create_dyn(&test_mutex_dyn_00);
|
||||
ASSERT_EQ(err, K_ERR_NONE);
|
||||
|
||||
err = tos_mutex_destroy(test_mutex_dyn_00);
|
||||
err = tos_mutex_destroy_dyn(test_mutex_dyn_00);
|
||||
ASSERT_EQ(err, K_ERR_NONE);
|
||||
|
||||
PASS();
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
TEST test_tos_mutex_destroy(void)
|
||||
{
|
||||
k_err_t err;
|
||||
@@ -420,7 +424,9 @@ SUITE(suit_mutex)
|
||||
{
|
||||
RUN_TEST(test_tos_mutex_create);
|
||||
RUN_TEST(test_tos_mutex_destroy);
|
||||
#if TOS_CFG_OBJ_DYNAMIC_CREATE_EN > 0u
|
||||
RUN_TEST(test_tos_mutex_create_dyn);
|
||||
#endif
|
||||
RUN_TEST(test_tos_mutex_pend);
|
||||
RUN_TEST(test_tos_mutex_pend_timed);
|
||||
RUN_TEST(test_tos_mutex_post);
|
||||
|
Reference in New Issue
Block a user