Android P VTS/GSI 测试配置

烧录google原生System.img:

1.在设置中的开发者模式中打开 OEM unlocking 选项

2.在设置中打开 USB debugging 选项

3.机器连接电脑上 ,执行命令:adb reboot-bootloader 进入fastboot模式
adb reboot-bootloader

4.连接到电脑上,执行fastboot flashing unlock,执行命令后需要选择音量 + 来确认unlock
fastboot flashing unlock

5.执行fastboot erase system 刷除system
fastboot erase system

6.执行 fastboot 命令刷入google提供的 system.img (GSI):
fastboot flash system E:\system.img

7.重启: fastboot reboot
fastboot reboot

VTS测试:
全测: run vts -s sn号
复测:run vts -r 1(上一次的ID) -s sn号
多台测试:run vts --shard-count 3(设备数量) -s sn号(第1台) -s sn号(第2台) -s sn号(第3台)

GSI测试:
全测: run cts-on-gsi -s sn号
复测:run cts-on-gsi-retry -r 1(上一次的ID) -s sn号
多台测试:run cts-on-gsi --shard-count 3(设备数量) -s sn号(第1台) -s sn号(第2台) -s sn号(第3台)

发布了86 篇原创文章 · 获赞 10 · 访问量 2万+

猜你喜欢

转载自blog.csdn.net/jydzm/article/details/103253332
VTS