diff --git a/build_lite/BUILD.gn b/build_lite/BUILD.gn index 6f1021bc53622b8789a1700ffd88223f22ec74f8..93f253cb187ec05905e5550289f53eec9af13669 100644 --- a/build_lite/BUILD.gn +++ b/build_lite/BUILD.gn @@ -48,6 +48,12 @@ lite_component("acts_component") { "//test/xts/acts/update_lite/dupdate_hal:ActsUpdaterFuncTest", "//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") { all_features += [ "//test/xts/acts/kernel_lite:ActsKernelTest", diff --git a/communication_lite/lwip_hal/src/lwip_func_test.c b/communication_lite/lwip_hal/src/lwip_func_test.c index 7dc3aab34fdd0ea47e289adb0697ef68bda96037..c45ceeb6de54d5a4b43feb88e0c4e07281a6a034 100755 --- a/communication_lite/lwip_hal/src/lwip_func_test.c +++ b/communication_lite/lwip_hal/src/lwip_func_test.c @@ -635,6 +635,7 @@ LITE_TEST_CASE(LwipFuncTestSuite, testSelectTimeout, Function | MediumTest | Lev tSelect.stack_size = DEF_TASK_STACK; tSelect.priority = DEF_TASK_PRIORITY; + g_selectFlag = 1; g_selectTimeout = 2; osThreadId_t serverTaskId = osThreadNew((osThreadFunc_t)SelectServerTask, NULL, &tSelect); TEST_ASSERT_NOT_NULL(serverTaskId);