mirror of
https://github.com/httprunner/httprunner.git
synced 2026-09-07 00:17:37 +08:00
chore: add log for action log file
This commit is contained in:
@@ -1 +1 @@
|
|||||||
v4.3.7.2311231600
|
v4.3.7.2311301111
|
||||||
@@ -456,6 +456,7 @@ func (ad *adbDriver) StopCaptureLog() (result interface{}, err error) {
|
|||||||
pointRes := ConvertPoints(content)
|
pointRes := ConvertPoints(content)
|
||||||
// 没有解析到打点日志,走兜底逻辑
|
// 没有解析到打点日志,走兜底逻辑
|
||||||
if len(pointRes) == 0 {
|
if len(pointRes) == 0 {
|
||||||
|
log.Info().Msg("action log is null, use action file >>>")
|
||||||
logFilePathPrefix := fmt.Sprintf("%v/data", env.ActionLogFilePath)
|
logFilePathPrefix := fmt.Sprintf("%v/data", env.ActionLogFilePath)
|
||||||
files := []string{}
|
files := []string{}
|
||||||
myexec.RunCommand("adb", "pull", env.DeviceActionLogFilePath, env.ActionLogFilePath)
|
myexec.RunCommand("adb", "pull", env.DeviceActionLogFilePath, env.ActionLogFilePath)
|
||||||
|
|||||||
Reference in New Issue
Block a user