现在,我正在尝试使用 Python 自动运行 cts。
我可以在单个设备上使用它,但不能在多个设备上运行。使用相同的 python 代码。
CTS 无法使用 --shard 2 ['android-cts/tools/cts-tradefed', 'run', 'cts', '--plan', 'CTS-hardware', '--shards', '2 开始测试']
CTS 可以在没有 --shard 2 的情况下开始测试
['android-cts/tools/cts-tradefed', 'run', 'cts', '--plan', 'CTS-hardware']
它也可以直接使用终端开始测试。
android-cts/tools/cts-tradefed 运行 cts --plan CTS-hardware --shards 2
我的问题是如何使用 python 开始分片 CTS 测试以自动测试 CTS?