提交 4b04440e 编写于 作者: O openharmony_ci 提交者: Gitee

!50 适配target mount修改

Merge pull request !50 from alex_hold/master
......@@ -648,7 +648,7 @@ class AppInstallKit(ITestKit):
def remount(device):
cmd = "mount -o rw,remount /" \
cmd = "shell mount -o rw,remount /" \
if device.usb_type == DeviceConnectorType.hdc else "remount"
device.hdc_command(cmd)
......
......@@ -124,7 +124,6 @@ class DeviceTestType(object):
DeviceTestType enumeration
"""
cpp_test = "CppTest"
dex_test = "DexTest"
hap_test = "HapTest"
junit_test = "JUnitTest"
jsunit_test = "JSUnitTest"
......@@ -155,7 +154,6 @@ class HostDrivenTestType(object):
TEST_DRIVER_SET = {
DeviceTestType.cpp_test,
DeviceTestType.dex_test,
DeviceTestType.hap_test,
DeviceTestType.junit_test,
DeviceTestType.jsunit_test,
......
......@@ -38,14 +38,12 @@ TestSetSource = namedtuple('TestSetSource', 'set')
TestSource = namedtuple('TestSource', 'source_file source_string config_file '
'test_name test_type module_name')
TEST_TYPE_DICT = {"DEX": DeviceTestType.dex_test,
"HAP": DeviceTestType.hap_test,
TEST_TYPE_DICT = {"HAP": DeviceTestType.hap_test,
"PYT": HostDrivenTestType.device_test,
"JST": DeviceTestType.jsunit_test,
"CXX": DeviceTestType.cpp_test,
"BIN": DeviceTestType.lite_cpp_test}
EXT_TYPE_DICT = {".dex": DeviceTestType.dex_test,
".hap": DeviceTestType.hap_test,
EXT_TYPE_DICT = {".hap": DeviceTestType.hap_test,
".py": HostDrivenTestType.device_test,
".js": DeviceTestType.jsunit_test,
".bin": DeviceTestType.lite_cpp_test,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册