1

現在、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 run cts --plan CTS-hardware --shards 2

私の質問は、Python でシャード CTS テストを開始して CTS を自動的にテストするにはどうすればよいですか?

4

0 に答える 0