readme.md
1# Instructions for using the utils package
2
3## Script Purpose
4* Download the necessary image files for testing
5* Obtain the burning tool and burn the downloaded Dayu image
6* Retrieve the repository commit information from 00:00 on the day before the script run to the time the script is executed
7* Automatically send test results via email
8
9## Dependency Installation
10```
11python3 -m pip install pywinauto lxml requests
12```
13
14## Notes
15* The storage path for the SDK needs to be strictly filled in according to the structure of the SDK path in the new version of IDEA
16* If no content is provided for sdkUrl、dayuUrl, the script will automatically retrieve the image address from the official website
17* Executing without providing parameters will follow the configured settings
readme_zh.md
1# utils包使用说明
2## 脚本目的
3* 下载测试所需要的镜像文件
4* 获取烧录工具并烧录下载好的dayu镜像
5* 获取前一天0点到脚本运行时这个时间段内仓库的提交信息
6* 邮件自动发送测试结果
7
8## 依赖安装
9```
10python3 -m pip install pywinauto lxml requests
11```
12
13## 注意事项
14* sdk的存放路径需要按照新版idea中sdk路径的结构去严格填写
15* 镜像地址这个参数如果后面不输入内容就会自动去官网获取镜像地址
16* 不输入参数将按照配置去执行
17