提交 827ffffc 编写于 作者: O openharmony_ci 提交者: Gitee

!408 删除CMSIC用例中的osThreadExit处理

Merge pull request !408 from 余明星/cherry-pick-1628772647
...@@ -1300,7 +1300,6 @@ LITE_TEST_CASE(CmsisTaskFuncTestSuite, testOsThreadGetId010, Function | MediumTe ...@@ -1300,7 +1300,6 @@ LITE_TEST_CASE(CmsisTaskFuncTestSuite, testOsThreadGetId010, Function | MediumTe
{ {
g_puwTaskID01 = osThreadGetId(); g_puwTaskID01 = osThreadGetId();
TEST_ASSERT_NOT_NULL(g_puwTaskID01); TEST_ASSERT_NOT_NULL(g_puwTaskID01);
osThreadExit();
}; };
/** /**
...@@ -2007,7 +2006,6 @@ LITE_TEST_CASE(CmsisTaskFuncTestSuite, testOsThreadGetName010, Function | Medium ...@@ -2007,7 +2006,6 @@ LITE_TEST_CASE(CmsisTaskFuncTestSuite, testOsThreadGetName010, Function | Medium
g_puwTaskID01 = osThreadGetId(); g_puwTaskID01 = osThreadGetId();
attr.name = osThreadGetName(g_puwTaskID01); attr.name = osThreadGetName(g_puwTaskID01);
TEST_ASSERT_NOT_NULL(attr.name); TEST_ASSERT_NOT_NULL(attr.name);
osThreadExit();
}; };
/** /**
...@@ -2201,7 +2199,6 @@ LITE_TEST_CASE(CmsisTaskFuncTestSuite, testOsThreadGetState010, Function | Mediu ...@@ -2201,7 +2199,6 @@ LITE_TEST_CASE(CmsisTaskFuncTestSuite, testOsThreadGetState010, Function | Mediu
g_puwTaskID01 = osThreadGetId(); g_puwTaskID01 = osThreadGetId();
state = osThreadGetState(g_puwTaskID01); state = osThreadGetState(g_puwTaskID01);
TEST_ASSERT_EQUAL_INT(osThreadRunning, state); TEST_ASSERT_EQUAL_INT(osThreadRunning, state);
osThreadExit();
}; };
/** /**
...@@ -2593,7 +2590,6 @@ LITE_TEST_CASE(CmsisTaskFuncTestSuite, testOsThreadGetStackSize010, Function | M ...@@ -2593,7 +2590,6 @@ LITE_TEST_CASE(CmsisTaskFuncTestSuite, testOsThreadGetStackSize010, Function | M
g_puwTaskID01 = osThreadGetId(); g_puwTaskID01 = osThreadGetId();
attr.stack_size = osThreadGetStackSize(g_puwTaskID01); attr.stack_size = osThreadGetStackSize(g_puwTaskID01);
TEST_ASSERT_GREATER_THAN_INT32(0, attr.stack_size); TEST_ASSERT_GREATER_THAN_INT32(0, attr.stack_size);
osThreadExit();
}; };
/** /**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册