Name | Updated at | |
---|---|---|
etc | ||
res | ||
tests | ||
Android.bp | ||
README |
CTS-Root Trade Federation, cts-root-tradefed for short, is built on top of the Android Trade Federation test harness for general compatibility tests that require root privileges or a debuggable device to run.
Ensure 'adb' is in your current PATH. adb can be found in the Android SDK available from http://developer.android.com
Example: PATH=$PATH:/home/myuser/android-sdk-linux_x86/platform-tools
And ensure device is visible via 'adb devices'
To run a test plan on a single device:
Some other useful commands are
To run a test module: 'run cts-root --module <module_name>'
To run a specific test: 'run cts-root --test <test_name>'
To shard a plan test run on multiple devices 'run cts-root --shards note: all connected devices must be running the same build
For more options: 'run cts-root --help'
See http://source.android.com for instructions on obtaining the Android platform source code and setting up a build environment.
The source for the tradefed framework can be found on the 'tradefed' branch.
Perform these steps to build and run cts-root-tradefed from the development environment: cd m cts_root cts-root-tradefed