kernel_perf: update to 2.5.1 version

This commit is contained in:
mculover666
2022-06-02 17:01:58 +08:00
parent e38c8775ac
commit 86bc533bb8
31 changed files with 495 additions and 91 deletions

View File

@@ -72,6 +72,8 @@ TEST test_tos_mmblk_pool_destroy(void)
PASS();
}
#if TOS_CFG_OBJ_DYNAMIC_CREATE_EN > 0u
TEST test_tos_mmblk_pool_create_dyn(void)
{
k_err_t err;
@@ -100,6 +102,8 @@ TEST test_tos_mmblk_pool_create_dyn(void)
PASS();
}
#endif
TEST test_tos_mmblk_alloc(void)
{
int i = 0;
@@ -154,7 +158,9 @@ SUITE(suit_mmblk)
{
RUN_TEST(test_tos_mmblk_pool_create);
RUN_TEST(test_tos_mmblk_pool_destroy);
#if TOS_CFG_OBJ_DYNAMIC_CREATE_EN > 0u
RUN_TEST(test_tos_mmblk_pool_create_dyn);
#endif
RUN_TEST(test_tos_mmblk_alloc);
RUN_TEST(test_tos_mmblk_free);
}