mirror of
https://gitee.com/openharmony/testfwk_xdevice
synced 2024-11-23 15:30:13 +00:00
commit
75c5a706b1
@ -925,9 +925,9 @@ class DeviceLogCollector:
|
||||
command = "hilog"
|
||||
if self.device.host != "127.0.0.1":
|
||||
cmd = [HdcHelper.CONNECTOR_NAME, "-s", "{}:{}".format(self.device.host, self.device.port),
|
||||
"-t", self.device.device_sn, "shell", command]
|
||||
"-t", self.device.device_sn, command]
|
||||
else:
|
||||
cmd = [HdcHelper.CONNECTOR_NAME, "-t", self.device.device_sn, "shell", command]
|
||||
cmd = [HdcHelper.CONNECTOR_NAME, "-t", self.device.device_sn, command]
|
||||
LOG.info("execute command: %s" % " ".join(cmd).replace(
|
||||
self.device.device_sn, convert_serial(self.device.device_sn)))
|
||||
device_hilog_proc = start_standing_subprocess(
|
||||
|
0
plugins/ohos/src/ohos/utils.py
Normal file
0
plugins/ohos/src/ohos/utils.py
Normal file
Loading…
Reference in New Issue
Block a user