From 994f58854126d74de8b4abcd594713d4553ddc10 Mon Sep 17 00:00:00 2001 From: yuyan0428 Date: Thu, 25 Aug 2022 02:02:01 +0000 Subject: [PATCH] Signed-off-by: yuyan0428 Signed-off-by: yuyan0428 --- README_zh.md | 8 ++++---- src/core/build/build_testcases.py | 3 +++ 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/README_zh.md b/README_zh.md index bd6970a..aac0d30 100755 --- a/README_zh.md +++ b/README_zh.md @@ -132,7 +132,7 @@ subsystem # 子系统 * @tc.name: integer_sub_001 * @tc.desc: Verify the sub function. * @tc.type: FUNC - * @tc.require: Issue Number + * @tc.require: issueNumber */ HWTEST_F(CalculatorSubTest, integer_sub_001, TestSize.Level1) { @@ -209,7 +209,7 @@ subsystem # 子系统 * @tc.name: integer_sub_001 * @tc.desc: Verify the sub function. * @tc.type: FUNC - * @tc.require: Issue Number + * @tc.require: issueNumber */ HWTEST_F(CalculatorSubTest, integer_sub_001, TestSize.Level1) { @@ -306,7 +306,7 @@ subsystem # 子系统 * @tc.name:appInfoTest001 * @tc.desc:verify app info is not null * @tc.type: FUNC - * @tc.require: Issue Number + * @tc.require: issueNumber */ it("appInfoTest001", 0, function () { //step 1:调用函数获取结果 @@ -370,7 +370,7 @@ subsystem # 子系统 * @tc.name:appInfoTest001 * @tc.desc:verify app info is not null * @tc.type: FUNC - * @tc.require: Issue Number + * @tc.require: issueNumber */ it("appInfoTest001", 0, function () { //step 1:调用函数获取结果 diff --git a/src/core/build/build_testcases.py b/src/core/build/build_testcases.py index bbfb814..003cf0f 100755 --- a/src/core/build/build_testcases.py +++ b/src/core/build/build_testcases.py @@ -214,6 +214,9 @@ class BuildTestcases(object): if para.testsuit != "" and len(para.subsystem) == 0: LOG.error("Please specify subsystem.") return + target_cpu = self.build_parameter_dic.get("target_cpu") + if target_cpu == "arm64": + acts_build_command.append("target_arch=" + target_cpu) if os.path.exists(BUILD_FILEPATH): build_command = [BUILD_FILEPATH] build_command.extend(acts_build_command) -- Gitee