diff --git a/commonlibrary/toolchain/BUILD.gn b/commonlibrary/toolchain/BUILD.gn index be6736db53843ade7285edfdbcbf87b29ff9f2bc..48ca92f72bbf9821984ff1347003fb2f8bfb6d4b 100644 --- a/commonlibrary/toolchain/BUILD.gn +++ b/commonlibrary/toolchain/BUILD.gn @@ -14,17 +14,19 @@ import("//build/ohos_var.gni") import("//test/xts/tools/build/suite.gni") group("toolchain") { - testonly = true - deps = [ "//third_party/musl:libctest" ] - if (is_standard_system) { - deps += [ ":tar_dllib" ] + if (!(product_name == "m40")) { + testonly = true + deps = [ "//third_party/musl:libctest" ] + if (is_standard_system) { + deps += [ ":tar_dllib" ] + } } } action("tar_testcases") { testonly = true deps = [ - "libc-test:ActToolChainTest", + "libc-test:ActsToolChainTest", "//third_party/musl:libctest", ] project_dir = rebase_path(".") diff --git a/commonlibrary/toolchain/libc-test/BUILD.gn b/commonlibrary/toolchain/libc-test/BUILD.gn index 6005a9e89a0457c9d7141dfd59b330ef73c7832d..138bcdaf5edfe669531eedfb1768445d1da3677b 100755 --- a/commonlibrary/toolchain/libc-test/BUILD.gn +++ b/commonlibrary/toolchain/libc-test/BUILD.gn @@ -27,7 +27,7 @@ config("module_private_config") { } ######################################################## -ohos_moduletest_suite("ActToolChainTest") { +ohos_moduletest_suite("ActsToolChainTest") { configs = [ ":module_private_config" ] cflags_cc = [ "-DHILOG_ENABLE" ] defines = [ "_STANDARD_SYSTEM_" ] diff --git a/commonlibrary/toolchain/libc-test/Test.json b/commonlibrary/toolchain/libc-test/Test.json index 5a5c259da581f2702b9ee15f28f174dd1a79d441..25564a73bb5a7150af27ce36318e63c054f350fd 100755 --- a/commonlibrary/toolchain/libc-test/Test.json +++ b/commonlibrary/toolchain/libc-test/Test.json @@ -1,16 +1,16 @@ { - "description": "Configuration for ActToolChainTest Tests", + "description": "Configuration for ActsToolChainTest Tests", "driver": { "type": "CppTest", "native-test-timeout": "3600000", - "module-name": "ActToolChainTest", + "module-name": "ActsToolChainTest", "runtime-hint": "100s", "native-test-device-path": "/data/local/tmp" }, "kits": [ { "push": [ - "ActToolChainTest->/data/local/tmp/ActToolChainTest", + "ActsToolChainTest->/data/local/tmp/ActsToolChainTest", "libc-test.tar->/data/local/tmp/libc-test.tar", "libc-test-lib.tar->/data/local/tmp/libc-test-lib.tar" ],