From 7be3abb9231b9fecb9013c44610d23a6a0788505 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E4=BA=91=E9=A3=9E?= Date: Tue, 26 Aug 2025 15:12:18 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E7=BD=AEThreadTerminationTestAction?= =?UTF-8?q?=E5=88=B0=E5=85=A8=E9=87=8F=E6=B5=8B=E8=AF=95=E5=A5=97=E4=B8=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/ICUUDJ?from=project-issue Signed-off-by: 杨云飞 --- BUILD.gn | 2 ++ test/executiontest/BUILD.gn | 11 +++++++++++ 2 files changed, 13 insertions(+) diff --git a/BUILD.gn b/BUILD.gn index eeb318d6af..bf447bafbd 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -152,6 +152,7 @@ group("ark_js_unittest_suit") { "common_components/log/tests:unittest", "common_components/platform/unix/tests:unittest", "common_components/taskpool/tests:unittest", + "test/executiontest:unittest", ] if (is_ohos && is_standard_system) { deps += [ "test/fuzztest:fuzztest" ] @@ -217,6 +218,7 @@ group("ark_unittest") { "common_components/log/tests:host_unittest", "common_components/platform/unix/tests:host_unittest", "common_components/taskpool/tests:host_unittest", + "test/executiontest:host_unittest", ] if (!run_with_asan) { diff --git a/test/executiontest/BUILD.gn b/test/executiontest/BUILD.gn index 447abecb3f..08b5d19f25 100644 --- a/test/executiontest/BUILD.gn +++ b/test/executiontest/BUILD.gn @@ -97,9 +97,20 @@ group("ark_execution_test") { deps = [] } +group("unittest") { + testonly = true + + # deps file + deps = [ ":ThreadTerminationTest" ] +} + group("host_unittest") { testonly = true # deps file deps = [ ":ThreadTerminationTestAction" ] + + if (is_mac) { + deps -= [ ":ThreadTerminationTestAction" ] + } } -- Gitee