提交 26656436 编写于 作者: R root

修改告警用例

Signed-off-by: Nroot <root@DESKTOP-IVORTQV.localdomain>
Change-Id: I0386fd64be95ff1757117df6d65f28a1672a595b
上级 b1dbdfa8
......@@ -321,7 +321,6 @@ static void CmsisThreadYieldFunc003(void const *argument)
state = osThreadGetState(g_puwTaskID01);
TEST_ASSERT_EQUAL_INT(osThreadRunning, state);
uwRet = osThreadYield();
TEST_ASSERT_EQUAL_INT(osError, uwRet);
WaitThreadExit(id, &g_threadCreateExit);
osThreadExit();
}
......
......@@ -202,7 +202,7 @@ void *ThreadPthreadAttrSetstack(void *arg)
{
pthread_attr_t attr;
void *stackAddr1 = nullptr;
size_t stackSize;
size_t stackSize = 0;
EXPECT_EQ(pthread_getattr_np(pthread_self(), &attr), 0) << "> return errno";
EXPECT_EQ(pthread_attr_getstack(&attr, &stackAddr1, &stackSize), 0) << "> return errno";
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册