Android10 GMS测试命令

文章目录

    • Android10 GMS测试命令
    • 1.CTS v2控制台命令参考
    • 2.CTS常用控制台命令
    • 3.GTS/GSI/VTS/STS常用控制台命令

Android10 GMS测试命令

1.CTS v2控制台命令参考

https://source.android.google.cn/compatibility/cts/command-console-v2

2.CTS常用控制台命令

命令 说明
run cts 执行CTS测试
run cts --shard-count 2 2台样机分布式执行CTS测试
run cts -s 1660000323 指定device id
run retry --retry 0 retry第0个报告
run cts -m CtsLocationTestCases 执行单个Module
run cts -m CtsLocationTestCases -t android.location.cts.GnssLocationValuesTest#testAccuracyFields 执行单个Test
l d 查看已连接的设备
l r 查看测试结果
l i 查看当前测试执行状态
add subplan --name sub-cts --result-type failed --session 1 根据第1个报告的failed项生成子计划
run cts --subplan sub-cts 执行子计划测试

3.GTS/GSI/VTS/STS常用控制台命令

命令 说明
run gts 执行GTS测试
run cts-on-gsi 执行GSI测试
run vts 执行VTS测试
run sts-engbuild 执行STS测试

GTS/GSI/VTS/STS其他测试命令跟CTS测试命令相同,将“cts”改成对应的套件即可。例如:

命令 说明
run gts --shard-count 2 2台样机分布式执行GTS测试

不再赘述。

你可能感兴趣的:(GMS)