提交 4316a1c4 编写于 作者: R redjie

delete photos_check

Signed-off-by: Nredjie <hongshaojie@h-partners.com>
Change-Id: Ibc71e58245168e76d70dfe4d626e6f065a20a7bf
上级 94fee291
......@@ -101,7 +101,7 @@
"entry": "aa start -a com.ohos.photos.MainAbility -b com.ohos.photos",
"compress_log":["cd /data/log/hilog && tar -cf photos_log.tar *"],
"all_actions": [
[2, "permisson_ok-x-y"], [2, "permisson_ok-x-y"], [2, "permisson_ok-x-y"], [2, 550, 700], [2, 550, 700], [2, 550, 700], [2, "shot_cmd"], [2, "recent-x-y"], [2, "recent_del-x-y"], [1, "cmp_cmd-level", 200000],
[2, "permisson_ok-x-y"], [2, "permisson_ok-x-y"], [2, "permisson_ok-x-y"], [2, 550, 700], [2, 550, 700], [2, 550, 700], [2, "shot_cmd"], [2, "recent-x-y"], [2, "recent_del-x-y"],
[2, "shot_cmd", "photo_check"], [2, "recent-x-y"], [2, "recent_del-x-y"], [1, "stop_hilog"], [1, "log_packaging"], [1, "get_photos_log_from_dev"], [2, "home-x-y"]
]
},
......
......@@ -323,10 +323,10 @@ if __name__ == "__main__":
ConnectToWifi(args.tools_path)
elif type(single_action[1]) == str and single_action[1] == 'log_packaging':
next_cmd = ""
EnterShellCmd("cd /data/log/hilog && tar -cf photos_log_{}.tar *".format(3 - testcnt))
EnterShellCmd("cd /data/log/hilog && tar -cf photos_log_{}.tar *".format(5 - testcnt))
elif type(single_action[1]) == str and single_action[1] == 'get_photos_log_from_dev':
next_cmd = ""
EnterCmd("hdc_std -t {} file recv \"/data/log/hilog/photos_log_{}.tar\" \"{}\"".format(args.device_num, 3 - testcnt, os.path.normpath(args.save_path)))
EnterCmd("hdc_std -t {} file recv \"/data/log/hilog/photos_log_{}.tar\" \"{}\"".format(args.device_num, 5 - testcnt, os.path.normpath(args.save_path)))
#process_crash_check
elif type(single_action[1]) == str and single_action[1] == 'process_crash_check':
next_cmd = ""
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册