Reputation: 8488
I want to run some of the testcases inside frameworks/base/core/tests/coretests. For example, I want to run "VirtualDisplayTest" in frameworks/base/core/tests/coretests/src/android/hardware/display/ . I want to run them on my nexus 10 tablet (kitkat). Plese suggest.
Upvotes: 0
Views: 385
Reputation: 11
Individual tests (or methods within those tests) can be run from CTS.
From your host, with the device connected via adb (assuming you have CTS downloaded etc.)
./cts-tradefed
run cts -c android.display.cts.DisplayTest
or
run cts -c android.display.cts.DisplayTest -m testGetCurrentSizeRange
(see help run within cts)
Upvotes: 0