提交 b0751bb2 编写于 作者: O openharmony_ci 提交者: Gitee

!66 modify test subsystem name to developertest

Merge pull request !66 from NicoYam/master
......@@ -379,7 +379,7 @@ subsystem # 子系统
import("//build/test.gni")
module_output_path = "subsystem_examples/calculator"
module_output_path = "developertest/calculator"
config("module_private_config") {
visibility = [ ":*" ]
......@@ -419,7 +419,7 @@ subsystem # 子系统
```
3. 指定文件输出路径
```
module_output_path = "subsystem_examples/calculator"
module_output_path = "developertest/calculator"
```
> **说明:** 此处输出路径为部件/模块名。
......@@ -481,7 +481,7 @@ subsystem # 子系统
import("//build/test.gni")
module_output_path = "subsystem_examples/app_info"
module_output_path = "developertest/app_info"
ohos_js_unittest("GetAppInfoJsTest") {
module_out_path = module_output_path
......@@ -511,7 +511,7 @@ subsystem # 子系统
3. 指定文件输出路径
```
module_output_path = "subsystem_examples/app_info"
module_output_path = "developertest/app_info"
```
> **说明:** 此处输出路径为部件/模块名。
......
......@@ -13,7 +13,7 @@
import("//build/ohos.gni")
ohos_subsystem("subsystem_examples") {
ohos_subsystem("developertest") {
subsystem_packages = [
"calculator:calculator",
"detector:detector",
......
......@@ -22,6 +22,6 @@ config("app_info_config") {
ohos_shared_library("app_info") {
sources = []
public_configs = [ ":app_info_config" ]
subsystem_name = "subsystem_examples"
subsystem_name = "developertest"
}
###############################################################################
......@@ -13,7 +13,7 @@
import("//build/test.gni")
module_output_path = "subsystem_examples/app_info"
module_output_path = "developertest/app_info"
ohos_js_unittest("GetAppInfoJsTest") {
module_out_path = module_output_path
......
......@@ -25,7 +25,7 @@ ohos_shared_library("calculator") {
"src/calculator.cpp",
]
public_configs = [ ":calculator_config" ]
subsystem_name = "subsystem_examples"
subsystem_name = "developertest"
}
ohos_static_library("calculator_static") {
......
......@@ -14,7 +14,7 @@
import("//build/config/features.gni")
import("//build/test.gni")
module_output_path = "subsystem_examples/calculator"
module_output_path = "developertest/calculator"
##############################fuzztest##########################################
ohos_fuzztest("CalculatorFuzzTest") {
......
......@@ -13,7 +13,7 @@
import("//build/test.gni")
module_output_path = "subsystem_examples/calculator"
module_output_path = "developertest/calculator"
###############################################################################
config("module_private_config") {
......
......@@ -13,7 +13,7 @@
import("//build/test.gni")
module_output_path = "subsystem_examples/calculator"
module_output_path = "developertest/calculator"
###############################################################################
config("module_private_config") {
......
......@@ -28,6 +28,6 @@ ohos_shared_library("detector") {
"src/detector.cpp",
]
configs = [ ":detector_config" ]
subsystem_name = "subsystem_examples"
subsystem_name = "developertest"
}
###############################################################################
......@@ -13,7 +13,7 @@
import("//build/test.gni")
module_output_path = "subsystem_examples/detector"
module_output_path = "developertest/detector"
###############################################################################
config("module_private_config") {
......
......@@ -13,7 +13,7 @@
import("//build/test.gni")
module_output_path = "subsystem_examples/distributedb"
module_output_path = "developertest/distributedb"
###############################################################################
config("module_private_config") {
......@@ -33,9 +33,7 @@ config("module_private_config") {
#ldflags = [ "-llog" ]
# library path
lib_dirs = [
"//foundation/appexecfwk/libs",
]
lib_dirs = [ "//foundation/appexecfwk/libs" ]
}
ohos_distributedtest("DistributeDemo") {
......
......@@ -13,7 +13,7 @@
import("//build/test.gni")
module_output_path = "subsystem_examples/sleep"
module_output_path = "developertest/sleep"
###############################################################################
config("module_private_config") {
......
......@@ -220,7 +220,7 @@ Fuzzing测试框架使用了LLVM编译器框架中的[libFuzzer](https://llvm.or
Fuzz能力集成,在测试类型-t中新增FUZZ类型,执行Fuzz测试指令示例,其中-t为必选,-ss和-tm为可选
```
run -t FUZZ -ss subsystem_examples -tm calculator
run -t FUZZ -ss developertest -tm calculator
```
| 参数 | 描述 | 说明 | 备注 |
......
{
"subsystem": "subsystem_examples",
"subsystem": "developertest",
"parts": {
"subsystem_examples": {
"developertest": {
"module_list": [
"//test/developertest/examples/app_info:app_info",
"//test/developertest/examples/detector:detector",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册