Commit Graph

189 Commits

Author SHA1 Message Date
Jean-Baptiste Queru
4ceead6ba0 am e73f0dfc: Merge "Added adb_interface.WaitForProcess and WaitForProcessEnd."
Merge commit 'e73f0dfc64a55dcdcac92a2cab93de677042fb07' into gingerbread-plus-aosp

* commit 'e73f0dfc64a55dcdcac92a2cab93de677042fb07':
  Added adb_interface.WaitForProcess and WaitForProcessEnd.
2010-10-08 13:52:24 -07:00
Jean-Baptiste Queru
e73f0dfc64 Merge "Added adb_interface.WaitForProcess and WaitForProcessEnd." 2010-10-08 13:43:42 -07:00
Jean-Baptiste Queru
e98ed06e17 am d9380caf: Merge "Make runtest --path smarter when choosing path to build."
Merge commit 'd9380caf410ddf4b17a6e5035a89851bc58408f7' into gingerbread-plus-aosp

* commit 'd9380caf410ddf4b17a6e5035a89851bc58408f7':
  Make runtest --path smarter when choosing path to build.
2010-08-30 10:33:39 -07:00
Jean-Baptiste Queru
d9380caf41 Merge "Make runtest --path smarter when choosing path to build." 2010-08-30 09:10:24 -07:00
Ot ten Thije
9290dd9c7d Added adb_interface.WaitForProcess and WaitForProcessEnd.
Relies mostly on common code factored out of WaitForDevicePm and
WaitForDeviceInstrumentation.
2010-08-20 11:18:58 +01:00
Brett Chabot
12c6d3fb68 Make runtest --path smarter when choosing path to build.
The command 'runtest --path <path to parent folder>'
is intended to find and build all tests contained within that parent folder.

However, the runtest logic was flawed in that it assumed building a parent
folder's Android.mk file would build all sub-directories.

This commit changes runtest to explictly look for the rule to build
sub-dir makefiles when creating the set of dirs to build.

Change-Id: Ia7f2172c1be79be8589be5f435fc4fb32569c994
2010-07-29 16:00:53 -07:00
Brett Chabot
d53cf3ba04 am 8ddb2873: Change hosttestlib to use ddm-prebuilt.
Merge commit '8ddb2873df96c7181c9358f5c9286e273648bf89' into gingerbread-plus-aosp

* commit '8ddb2873df96c7181c9358f5c9286e273648bf89':
  Change hosttestlib to use ddm-prebuilt.
2010-07-28 11:37:12 -07:00
Brett Chabot
8ddb2873df Change hosttestlib to use ddm-prebuilt.
Change-Id: Ibd1c44096893bc8804a4d7644fc83d2edd443bb2
2010-07-27 17:57:38 -07:00
Xia Wang
991ffd7f9a Add connectivity unit tests to test_defs.xml
Change-Id: I15ecb95f7c534a9761cc8bbd16cd6ec661f7af5b
2010-06-29 14:59:26 -07:00
Guang Zhu
cf02f247de add test def for calculator
Change-Id: I2501f0699f6eb286037ed314c30be4818a25c643
2010-06-21 16:55:00 -07:00
Brett Chabot
0e968fa2ee Merge "Workaround for package-private framework tests in runtest." into gingerbread 2010-06-15 10:46:32 -07:00
Brett Chabot
ccae47d0c0 Workaround for package-private framework tests in runtest.
Checks if the test to run is a framework test based on path, and if so
disables the davlik verifier by writing to /data/local.prop and
rebooting device.

Change-Id: Ibf94fb921662b5ddf6136dd12360d5de83a3a284
2010-06-14 15:24:42 -07:00
Jeff Brown
ec5b11b6dd Added test definitions for framework UI and Utils libs.
Change-Id: Idf1a5741cd60e7402d950a8080bcd5dcbc12be09
2010-06-13 20:09:33 -07:00
Guang Zhu
c2b27167dd fix earlier change for coverage_targets.xml
due to previous incorrect change to Makefile, test_defs.xml is missing.
this will add it back in.

Change-Id: I4bd57d24757662477409ba02d3f71122e8e75238
2010-06-02 11:25:59 -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
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
8c63b97f83 Rename framework-common testdef to android-common.
Change-Id: I71717dd874cd3ed82415d110c745dc68e0922838
2010-04-05 12:19:17 -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