Commit Graph

283 Commits

Author SHA1 Message Date
Guang Zhu
16b98fb001 am 68f37ab9: Merge "Add coverage_targets.xml into test image" into kraken 2010-06-01 16:11:18 -07:00
Guang Zhu
ea7e48c8be Add coverage_targets.xml into test image
This file is needed to get coverage targets definition when running code
coverage

Change-Id: If48ad5d9693eaa5857a308f2d304f388d5d8c4d5
2010-06-01 14:38:23 -07:00
Guang Zhu
863870c168 code coverage improvement (DO NOT MERGE)
* automatically detect if emma is on device
* build emma into libcore if necessary
* stop runtime before adb sync and restart afterwards

Change-Id: Id5087fdd6c0345f2b9b76658a5083b9260af061e
2010-05-18 10:54:47 -07:00
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
8dc9eb8ba6 Runtest support for tests that need 'make' not 'mmm' to build.
Change-Id: I0508db2578826249f9bf4756d5adc6f95e841231
2010-04-16 14:44:41 -07:00
Brian Carlstrom
90218acfdf runtest --path fails with symlinked ANDROID_BUILD_TOP
While reproducing b/2558977 I found that "runtest --path" did not work
for me because my ANDROID_BUILD_TOP contained a symlink. This is a
local fix to make FindTests use os.path.realpath instead of only half
using os.path.abspath when trying to make canonical paths to compare.

Change-Id: Ief353f52cb80b1798edc3c1233d1e082d9cebc26
2010-04-15 10:36:05 -07:00
Nicolas Catania
8595c94e89 New testsuite for libjingle
Change-Id: I94336057a0edf3990614d41594f715de0898551a
2010-04-09 10:26:13 -07:00
Brett Chabot
729f6a0ae7 am 78566df7: am 79a612b2: Remove com.android.quicksearchbox.tests from continuous. 2010-04-05 17:08:18 -07:00
Brett Chabot
79a612b2ad Remove com.android.quicksearchbox.tests from continuous.
Bug 2562721

Change-Id: Ic8c582cb1f18f8e733c6bd2ced146066d50ca47e
2010-04-05 16:37:59 -07:00
Brett Chabot
c125ef209b am d71605b0: am 8c63b97f: Rename framework-common testdef to android-common. 2010-04-05 13:07:39 -07:00
Brett Chabot
8c63b97f83 Rename framework-common testdef to android-common.
Change-Id: I71717dd874cd3ed82415d110c745dc68e0922838
2010-04-05 12:19:17 -07:00
Rajni Arora Batra
6994e5540c Making browser unit tests as continuous (as part of checking incremental code coverage). Right now we have about 18% of Browser code coverage.
Change-Id: I7bc47286fc6648c447f86eb1acfd7e47d5246d53
2010-04-02 17:55:52 -07:00
Brett Chabot
f692a04c71 More test_defs cleanup.
Remove obsolete defs, fix browser def, and add framework common tests to
continuous.

Bug 2562721

Change-Id: I41457db7ad6fb460a61429ba686b778d9cf1fa35
2010-04-02 08:50:02 -07:00
Brett Chabot
a6f3b0ae75 Cleanup framework test defs.
Remove obsolete framework test definitions. Reorganize to keep all the framework
tests together.

Bug 2562721

Change-Id: Ic96d52dc081eb28f5354954d3d111a77dc1d8db9
2010-04-01 18:38:31 -07:00
Brett Chabot
8864a9a8db Add cts hardware tests to continuous test.
Bug 2557864

Change-Id: I5bf6eb840f180e61e067456b9acfc66d0a454754
2010-03-30 20:05:08 -07:00
Swarna Kumar
3bf043f9cd Added coverage target for Contacts and Calendar Provider
Change-Id: I0066451fa4deaee50f51d14c969580ed9626a4a4
2010-03-23 11:15:20 -07:00
Fred Quintana
75a73dc9fb fix runtest for unqualified Instrumentation class names
Change-Id: I0dcc9918b0bde568219d9085e8bbbc4cbba2b552
http://b/issue?id=2472406
2010-03-16 16:27:03 -07:00
Yu Shan Emily Lau
3b2cb76205 Removed the camera related test from the test_defs for external usage.
Change-Id: Ia231f8d63e1d80ef6281ee85acf24a49a87a0243
2010-03-09 19:09:43 -08:00
Brett Chabot
84bc7826b8 Change runtest 'overriding test def' log to silent.
Change-Id: I9b52aac04f2b95e9c93963bfad0c6d29dbddb87d
2010-03-02 15:53:42 -08:00
Brett Chabot
2e16fbc36b Fix grammar typo in runtest not-annotation help.
Change-Id: I5f5a81d16715f968ed9b265398d2a9e483c23a89
2010-02-23 12:28:27 -08:00
Brett Chabot
53a6a9b1d2 Merge "Add "annotation" and "not-annotation" args to runtest." 2010-02-23 12:17:47 -08:00
Brett Chabot
c061154208 Add "annotation" and "not-annotation" args to runtest.
Bug 2239240

Change-Id: I49bbee4b74e8b0a51b6e6144818a7e9c08b1b5c2
2010-02-23 12:17:15 -08:00
Brett Chabot
786f4db828 Fix code coverage definitions for the test-runner tests.
Change-Id: I04aaad10fd116a36e6100fb19b39dc108233022d
2010-02-20 20:07:38 -08:00
Brett Chabot
0145eafa54 Add frameworks-testrunner test_defs. 2010-02-19 09:55:02 -08:00
Brett Chabot
4a5d9f1ba7 Replace runtest --cts option with more generic --suite option.
This will allow you to run a the set of test_defs with attribute suite="foo"
like this:
  runtest --suite foo

Bug 2401250
2010-02-19 09:42:17 -08:00
Brett Chabot
c5ad47cf30 Add runtest test def for frameworks-core-host.
Bug 2430400
2010-02-17 11:22:19 -08:00
Nicolas Catania
13a2fcf30d Added gtest to the list. cd to /sdcard before running native tests.
Some test need to be run in a place where they can write on the disk.
I know we should stop using /sdcard but until I see the new document
explaining how the launcher can access the playground, we are going
 to keep it that way.
2010-02-10 22:40:47 -08:00
Bryan Mawhinney
d75939d2f5 Update test configs to replace GlobalSearch with QuickSearchBox 2010-02-08 09:45:51 +00:00
Neal Nguyen
d538defed1 Adding frameworks-services tests to the runtest collection. 2010-02-02 17:12:22 -08:00
Neal Nguyen
04bcaad627 Modifications to test_defs.xml for AndroidTests files move. 2010-01-29 12:15:15 -08:00
Brett Chabot
3c6ddf1a93 am d392646b: am e848f6b2: Merge "Fix cts-content testdef." into eclair
Merge commit 'd392646bfb9e52b1ec390ba1683cfdf1cc396c71'

* commit 'd392646bfb9e52b1ec390ba1683cfdf1cc396c71':
  Fix cts-content testdef.
2010-01-28 15:31:00 -08:00
Brett Chabot
4d1a3b839c Fix cts-content testdef.
Change-Id: I02c98f57c0fbf7cd7fbcdf3e7ba642e0d66acf93
2010-01-27 17:17:16 -08:00
Neal Nguyen
af94291727 Modifications to test_defs.xml for FrameworksTests files move. 2010-01-27 14:15:08 -08:00
Neal Nguyen
adce566254 Modifications to test_defs.xml for CoreTests files move. 2010-01-27 13:00:02 -08:00
Brett Chabot
28d560e217 Merge "Update test and code coverage definitions for obsolete/changed packages." 2010-01-25 13:24:43 -08:00
Brett Chabot
1ca9316bef Update test and code coverage definitions for obsolete/changed packages. 2010-01-25 12:02:10 -08:00
Brett Chabot
7a6bbae17b Merge "Make runtest more fault tolerant on test run failures." 2010-01-25 11:59:52 -08: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
920e9fefab Make runtest more fault tolerant on test run failures.
Adjust so when running multiple suites, the whole run is not aborted on a
single suite failure.
2010-01-21 17:33:05 -08:00
Neal Nguyen
8a3bb2394b Framework Tests Cleanup: Removing CTS duplicate files
Updating test_defs.xml to remove the class attribute for
AndroidTests wrapper class that is going away.
2009-12-23 18:18:34 -08:00
Fred Quintana
7dbb3c2900 moved the hidden sync helpers out of the framework 2009-12-14 14:31:47 -08:00
Nicolas Catania
6f0366f773 Added the new phone app unittest to runtest.
Used phone-unit for the test name because 'phone'
is already taken by a package under '/vendor'.
2009-12-07 21:13:22 -08:00
Jeff Hamilton
4865c5393f Add a runtest entry for the database tests. 2009-11-19 10:15:23 -08:00
Dan Egnor
e970b3d160 Add "common" runtest definition (for android-common library tests) 2009-11-18 12:05:35 -08:00
Brett Chabot
30a6db9cf3 am 36449a1e: Merge change Ic2680af0 into eclair
Merge commit '36449a1e14b91a25ae6b3746cb8b1387d2b8157b' into eclair-mr2

* commit '36449a1e14b91a25ae6b3746cb8b1387d2b8157b':
  Cleanup for coverage.
2009-11-13 19:00:14 -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
b2876c0c46 am cf87c98a: Add contacts launch performance test definition.
Merge commit 'cf87c98ad18bdf928dd93a86e04b0f61b477a30f' into eclair-mr2

* commit 'cf87c98ad18bdf928dd93a86e04b0f61b477a30f':
  Add contacts launch performance test definition.
2009-11-12 12:04:10 -08:00
Brett Chabot
cf87c98ad1 Add contacts launch performance test definition.
Change-Id: I8d4376e676a682c59accbb129a4d77efb5696e28
2009-11-12 11:47:16 -08:00
Brett Chabot
4277838e68 Remove calendar provider suite from continuous. DO NOT MERGE
Bug 2171501
2009-10-30 17:49:36 -07:00
Brett Chabot
99e5f91aab Fix runcommand logging exception.
BUG 2215978
2009-10-26 17:52:34 -07:00