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

@@ -77,6 +77,8 @@ TEST test_tos_task_destroy(void)
PASS();
}
#if TOS_CFG_OBJ_DYNAMIC_CREATE_EN > 0u
TEST test_tos_task_create_destroy_dyn(void)
{
k_err_t err;
@@ -103,6 +105,8 @@ TEST test_tos_task_create_destroy_dyn(void)
PASS();
}
#endif
TEST test_tos_task_delay(void)
{
int try = 0;
@@ -312,7 +316,9 @@ SUITE(suit_task)
{
RUN_TEST(test_tos_task_create);
RUN_TEST(test_tos_task_destroy);
#if TOS_CFG_OBJ_DYNAMIC_CREATE_EN > 0u
RUN_TEST(test_tos_task_create_destroy_dyn);
#endif
RUN_TEST(test_tos_task_delay);
RUN_TEST(test_tos_task_delay_abort);
RUN_TEST(test_tos_task_suspend_resume);