dcts_dsoft

Signed-off-by: songdawei <songdawei1@huawei.com>
This commit is contained in:
songdawei 2022-03-28 11:13:39 +00:00
parent 766619bf28
commit 231068d27b
5 changed files with 46 additions and 44 deletions

View File

@ -16,10 +16,10 @@ group("communication") {
testonly = true
if (is_standard_system) {
deps = [
"softbus_standard/network:SoftBusNetTest",
"softbus_standard/transmission:SoftBusTransFileFunTest",
"softbus_standard/transmission:SoftBusTransFunTest",
"softbus_standard/transmission:SoftBusTransSessionFunTest",
"softbus_standard/network:DctsSoftBusNetTest",
"softbus_standard/transmission:DctsSoftBusTransFileFunTest",
"softbus_standard/transmission:DctsSoftBusTransFunTest",
"softbus_standard/transmission:DctsSoftBusTransSessionFunTest",
]
} else {
deps = [ "wifi_standard:ActsWifiJSTest" ]

View File

@ -12,8 +12,8 @@
# limitations under the License.
import("//test/xts/tools/build/suite.gni")
module_output_path = "dct/softbus_base/SoftBusNetTest"
ohos_moduletest_suite("SoftBusNetTest") {
module_output_path = "dcts/softbus_base/DctsSoftBusNetTest"
ohos_moduletest_suite("DctsSoftBusNetTest") {
module_out_path = module_output_path
sources = [
"../common/SoftBus_Test_Permission.cpp",

View File

@ -1,21 +1,21 @@
{
"kits": [
{
"push": [
"SoftBusTransFunTest ->/data/local/tmp/SoftBusTransFunTest"
],
"temp": "PushKit",
"post-push": [
"chmod -R 777 /data/local/tmp/*"
]
}
],
"dirver": {
"description": "Config for DctsSoftBusNet test cases",
"driver": {
"module-name": "DctsSoftBusNetTest",
"native-test-timeout": "120000",
"type": "CppTest",
"module-name": "SoftBusTransFunTest",
"runtime-hint": "ls",
"native-test-device-path": "/data/local/tmp/"
"native-test-device-path": "/data/local/tmp",
"runtime-hint": "1s",
"type": "CppTest"
},
"description": "configuration for SoftBusTransFunTest Tests"
"kits": [
{
"post-push" : [
"chmod -R 777 /data/local/tmp/*"
],
"push": [
"DctsSoftBusNetTest->/data/local/tmp/DctsSoftBusNetTest"
],
"type": "PushKit"
}
]
}

View File

@ -13,8 +13,8 @@
import("//test/xts/tools/build/suite.gni")
module_output_path = "dct/softbus_base/SoftBusTransTest"
ohos_moduletest_suite("SoftBusTransFunTest") {
module_output_path = "dcts/softbus_base/transmission"
ohos_moduletest_suite("DctsSoftBusTransFunTest") {
module_out_path = module_output_path
sources = [
"../common/SoftBus_Test_Permission.cpp",
@ -49,7 +49,7 @@ ohos_moduletest_suite("SoftBusTransFunTest") {
]
external_deps = [ "dsoftbus_standard:softbus_client" ]
}
ohos_moduletest_suite("SoftBusTransSessionFunTest") {
ohos_moduletest_suite("DctsSoftBusTransSessionFunTest") {
module_out_path = module_output_path
sources = [
"../common/SoftBus_Test_Permission.cpp",
@ -85,7 +85,7 @@ ohos_moduletest_suite("SoftBusTransSessionFunTest") {
external_deps = [ "dsoftbus_standard:softbus_client" ]
}
ohos_moduletest_suite("SoftBusTransFileFunTest") {
ohos_moduletest_suite("DctsSoftBusTransFileFunTest") {
module_out_path = module_output_path
sources = [
"../common/SoftBus_Test_Permission.cpp",

View File

@ -1,21 +1,23 @@
{
"kits": [
{
"push": [
"SoftBusTransFunTest ->/data/local/tmp/SoftBusTransFunTest"
],
"temp": "PushKit",
"post-push": [
"chmod -R 777 /data/local/tmp/*"
]
}
],
"dirver": {
"description": "Config for DctsSoftBusTransFun test cases",
"driver": {
"module-name": "DctsSoftBusTransTest",
"native-test-timeout": "120000",
"type": "CppTest",
"module-name": "SoftBusTransFunTest",
"runtime-hint": "ls",
"native-test-device-path": "/data/local/tmp/"
"native-test-device-path": "/data/local/tmp",
"runtime-hint": "1s",
"type": "CppTest"
},
"description": "configuration for SoftBusTransFunTest Tests"
"kits": [
{
"post-push" : [
"chmod -R 777 /data/local/tmp/*"
],
"push": [
"DctsSoftBusTransFunTest->/data/local/tmp/DctsSoftBusTransFunTest",
"DctsSoftBusTransSessionFunTest->/data/local/tmp/DctsSoftBusTransSessionFunTest",
"DctsSoftBusTransFileFunTest->/data/local/tmp/DctsSoftBusTransFileFunTest"
],
"type": "PushKit"
}
]
}