Using the cts, Selecting cts plans – Google Compatibility Test Suite (CTS) User Manual User Manual
Page 8

5.
Run copy_media.sh:
○
To copy clips for just the default resolutions, run:
./copy_media.sh
○
To copy clips up to a resolution of 720x480, run:
./copy_media.sh 720x480
○
If you are not sure about the maximum resolution, try 1920x1080 so that all
files are copied.
○
If there are multiple devices under adb, add the -s (serial) option to the
end. For example, to copy up to 720x480 to the device with serial 1234567,
run: ./copy_media.sh 720x480 s 1234567
3.5. Using the CTS
To run a test plan:
1.
Connect at least one device.
2.
Launch the CTS console by running the cts-tradefed script from the folder where
the CTS package has been unzipped, e.g.
$ ./androidcts/tools/ctstradefed
3.
You may start the default test plan (containing all of the test packages) by
appending:
run cts plan CTS
This will kick off all the CTS tests required for compatibility.
Enter list plans to see a list of test plans in the repository.
Enter list packages to see a list of test packages in the repository.
See the CTS command reference or type help for a complete list of supported
commands.
4.
Alternately, you may run the CTS plan of your choosing from the command line
using:
ctstradefed run cts plan <plan_name>
5.
View test progress and results reported on the console.
3.6. Selecting CTS plans
For this release the following test plans are available:
1.
CTS—all tests and will run ~18,000 tests on your device. These tests are required
for compatibility. At this point performance tests are not part of this plan (this
will change for future CTS releases).
2.
Signature—the signature verification of all public APIs
8