Commit Graph

7 Commits

Author SHA1 Message Date
Guang Zhu
8aff3602e7 code coverage improvement
* automatically detect if emma is on device
* build emma into libcore if necessary
* stop runtime before adb sync and restart afterwards

Change-Id: I6f1beacdd266310c481351165a054dca8f8657b2
2010-04-20 16:24:27 -07:00
Brett Chabot
8424ffc02c Add support for generating coverage per test suite size to runtest. 2010-01-22 11:58:58 -08:00
Brett Chabot
ddbd282dc8 Cleanup for coverage.
Fix constructor call in coverage.py
Remove obsolete improvider from coverage targets.

Change-Id: Ic2680af0aa84c705a6bc05a897461eeeaeeeb1cc
2009-11-13 18:33:43 -08:00
Brett Chabot
764d3fa70d Add support for running host java tests to runtest.
With this change, also refactored runtest as follows: Modified the
test suite schema and python implementation to have an inheritance
structure.  Each test type has its own python module, which will
also handle the logic of running the test.
2009-06-26 14:31:52 -07:00
Brett Chabot
ae68f1a865 Add support for parsing code coverage file path to runtest and related cleanup.
This change is to adapt runtest to the InstrumentationTestRunner change which
dumps coverage data to the app's local data folder, instead of a fixed file on
the sdcard.

Also fixed adb_interace.StartInstrumentationForPackage, added better handling
when generating coverage for tests with unknown coverage targets, and reduced
the duplicate definitions of the "coverage_targets.xml" definition file.
2009-05-29 13:35:13 -07:00
Brett Chabot
72731f3420 AI 143688: am: CL 143562 Usability fixes for runtest.py
Original author: brettchabot
  Merged from: //branches/cupcake/...

Automated import of CL 143688
2009-03-31 11:14:05 -07:00
The Android Open Source Project
2b83cbdb14 auto import from //depot/cupcake/@136654 2009-03-05 17:04:45 -08:00