提交 922885d0 编写于 作者: Z zhushengle

feat: UniProton内核支持xts测试用例

Close #I5TGLE
Signed-off-by: Nzhushengle <zhushengle@huawei.com>
Change-Id: I5e3a210144fe47f82a2f4bda88bda91430b9d065
上级 adb081ce
...@@ -48,6 +48,12 @@ lite_component("acts_component") { ...@@ -48,6 +48,12 @@ lite_component("acts_component") {
"//test/xts/acts/update_lite/dupdate_hal:ActsUpdaterFuncTest", "//test/xts/acts/update_lite/dupdate_hal:ActsUpdaterFuncTest",
"//test/xts/acts/startup_lite/bootstrap_hal:ActsBootstrapTest", "//test/xts/acts/startup_lite/bootstrap_hal:ActsBootstrapTest",
] ]
} else if (ohos_kernel_type == "uniproton") {
all_features += [
"//test/xts/acts/commonlibrary_lite/file_hal:ActsUtilsFileTest",
"//test/xts/acts/startup_lite/bootstrap_hal:ActsBootstrapTest",
]
features += [ "//test/xts/acts/communication_lite/lwip_hal:ActsLwipTest" ]
} else if (ohos_kernel_type == "liteos_a") { } else if (ohos_kernel_type == "liteos_a") {
all_features += [ all_features += [
"//test/xts/acts/kernel_lite:ActsKernelTest", "//test/xts/acts/kernel_lite:ActsKernelTest",
......
...@@ -635,6 +635,7 @@ LITE_TEST_CASE(LwipFuncTestSuite, testSelectTimeout, Function | MediumTest | Lev ...@@ -635,6 +635,7 @@ LITE_TEST_CASE(LwipFuncTestSuite, testSelectTimeout, Function | MediumTest | Lev
tSelect.stack_size = DEF_TASK_STACK; tSelect.stack_size = DEF_TASK_STACK;
tSelect.priority = DEF_TASK_PRIORITY; tSelect.priority = DEF_TASK_PRIORITY;
g_selectFlag = 1;
g_selectTimeout = 2; g_selectTimeout = 2;
osThreadId_t serverTaskId = osThreadNew((osThreadFunc_t)SelectServerTask, NULL, &tSelect); osThreadId_t serverTaskId = osThreadNew((osThreadFunc_t)SelectServerTask, NULL, &tSelect);
TEST_ASSERT_NOT_NULL(serverTaskId); TEST_ASSERT_NOT_NULL(serverTaskId);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册