简体   繁体   中英

How to run Google CTS on multiple device?

I have connected 2 devices on my machine and I want to run Google CTS in both the devices. But here the problem is, Whenever I run ./startcts command, both the devices are getting connected to the session.

My Requirement:

  1. I want to run CTS in both the devices.
  2. Its ok if it requires two separate android-cts folder paths.
  3. Is it possible to make one device to connect one android cts session?

I have gone through the startcts and host-config files. But did not find any places to modify. Since I am new to the CTS, can anyone please help me if they have solved this problem.

Possible,

modified ./startcts file or make your modifies script file, then pass the device id as scripts argument. (As many as you want)

And put or modified command, (put different device is in this command)

start --plan test_plan_name -t/--test test_name -d/--device device_ID: 

run a specific test using the specified device.

Also look at http://static.googleusercontent.com/media/source.android.com/en//compatibility/android-cts-manual.pdf

AS CTS image say itself:

在此输入图像描述

To shard a plan test run on multiple devices 'run cts --plan CTS --shards

For latest versions as Android 7 and 8 : 'run cts --shards [number of devices]

Running CTS with specific devices: run cts --shards [number of devices] -s [device slno] [device slno]

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM