Questions tagged [android-tradefederation]

This tag can be used to ask questions about Android's test framework, Trade Federation.

Trade Federation (tradefed or TF for short) is a continuous test framework designed for running tests on Android devices. It's a Java application which runs on a host computer, and communicates to one or more Android devices using ddmlib (the library behind DDMS) over adb.

6 questions
3
votes
0 answers

CTS Android Automation via CI Tool

I am trying to execute android CTS via this command: ./cts-tradefed run cts --shards ${no_of_devices} When I execute a plain shell command from terminal it detects all the connected devices and executes test suite in parallel using all connected…
mastersidd
  • 51
  • 6
2
votes
1 answer

What are the correct commands to run the CTS and VTS test plans?

I am about to setup the VTS and CTS tests for our AOSP. Both of the test suites are using the Trade Federation test framework. What is confusing me is how to run the different test plans. According to the documentation…
1
vote
1 answer

Error while running cts-tradefed [for an android set top box]

For google certification , we need to run Compatibility test suite on the android device(stb) . I have done the setup for CTS on a Linux machine. I am getting below error while running cts-tradefed on the…
1
vote
1 answer

How to build Trade Federation test cases

I am able to compile and execute Trade Federation test cases which are located inside /tools/tradefederation/core/tests. But how can I execute the test cases which are located inside my project? My Unit and Instrumentation test cases are located…
0
votes
2 answers

syntax error: unexpected 'newline' in .config file in android vts

Currently, I am running one VTS module VtsHalGnssExtV1_0TargetTest. But I am getting an error syntax error: unexpected 'newline'. But the tests ran correctly. ======================================================= =============== Summary…
Manjunath N
  • 1,365
  • 11
  • 22
0
votes
1 answer

Google STS TradeFed fails with error: Failed to run command: com.android.tradefed.config.ConfigurationException: Can not find local config sts

This is related to Google STS. Similar to CTS and VTS, Google Trade Federation harness is used to run these test. However, unlike CTS and VTS, the STS suite fails whenrun sts command is invoked: sts-tf > run sts Failed to run command:…
Alsina
  • 387
  • 1
  • 2
  • 15