Commit Graph

283 Commits

Author SHA1 Message Date
Brett Chabot
59b4778dd6 Add runtest --path.
This supports specifying a file system path to test(s) to run. The path can be
a java test class file, a java package directory, or a parent directory
containing many tests.

This change allows users to run tests independently from test_defs.xml.

BUG 2133198
2009-10-26 12:22:46 -07:00
Brett Chabot
e00595bdbe Remove runtest dependency on current dir being build top.
This change is necessary to support relative path based args.
2009-10-21 20:01:31 -07:00
Brett Chabot
1cd6174130 Add support to run only tests in a given java package. 2009-10-21 17:00:58 -07:00
Android (Google) Code Review
3447c407dc Merge change I8f6ac3c9 into eclair
* changes:
  Refactor runtest test_defs to allow programmatic creation.
2009-10-21 18:53:58 -04:00
Brett Chabot
924c089879 Refactor runtest test_defs to allow programmatic creation.
Previously a test definition could only be created via xml.
Also fix some minor lint warnings.
2009-10-21 14:35:37 -07:00
Brett Chabot
34fb7f6b0c Add ability to retrieve instrumentations from android_manifest parser.
Also add a simple unit test for the parser.
2009-10-21 11:19:12 -07:00
Brett Chabot
9cf2f6f137 Remove flaky ApiDemos tests from continuous.
These aren't needed anyway, since they are run as part of SDK test set.

BUG 2081356
2009-10-09 12:20:51 -07:00
Jean-Baptiste Queru
b7c548eb23 am fb244224: merge from donut-gms
Merge commit 'fb244224235c33b492774f32e8caf8d43f2a3cec' into eclair

* commit 'fb244224235c33b492774f32e8caf8d43f2a3cec':
  Remove unnecessary preprocessing of monkey commands, fix bug where it didn't recognize '@', '+', '.', etc.
  adding a recorder function to collect output into an xml file; adding getvars and listvars command to MonkeyRunner
  Add runtest test def for cts-webkit.
2009-10-08 10:43:28 -07:00
Chung-yih Wang
84dcb451c2 Add unit test for new keystore.
+ change the package path.
+ add continuous flag.
2009-09-30 12:14:48 +08:00
Android (Google) Code Review
7571d11b70 Merge change I2cdb052a into eclair
* changes:
  Import testrunner changes from puppetmaster to keep them in sync.
2009-09-29 18:35:53 -04:00
Brett Chabot
1d9928aaf7 Import testrunner changes from puppetmaster to keep them in sync. 2009-09-29 15:34:20 -07:00
Omari Stephens
17a9df5a1d Add contacts tests to the continuous test cycle 2009-09-29 14:17:34 -07:00
Nicolas Catania
f8f452c52d Added a target to run the Contacts tests using runtest. 2009-09-25 16:30:09 -07:00
Brett Chabot
2477b388ec Add workaround to runtest to build cts dependencies.
BUG 2141242
2009-09-24 13:23:50 -07:00
Brett Chabot
9f7ae08eb1 Add cts-media test definition in eclair. 2009-09-23 11:38:25 -07:00
Brett Chabot
be659c08d2 Add build path info to runtest --list_tests
BUG 2133198
2009-09-21 19:26:12 -07:00
Android (Google) Code Review
c1d51f7544 Merge change 25165 into eclair
* changes:
  Remove IM from code coverage targets.
2009-09-16 14:23:10 -04:00
Brett Chabot
faa71a8444 Remove IM from code coverage targets.
Necessary since IM is no longer part of the Android source tree.
2009-09-15 16:56:37 -07:00
Nicolas Catania
c1d79ee218 Added new telephony unittest target. 2009-09-15 14:39:59 -07:00
Brett Chabot
cc6799af7d Add runtest test def for cts-webkit. 2009-09-10 15:08:58 -07:00
Omari Stephens
a341046b9d Add ContactsProvider tests to runtest as 'contactsprov'
Also, move GoogleContactsProvider tests from 'contactsprov' to 'gcontactsprov'
Finally, switch the gcontactsprov test to the right coverage class
2009-09-02 13:01:11 -07:00
Brett Chabot
3befd76efa am aa1be08c: Merge change 22791 into donut
Merge commit 'aa1be08c90507e20c1ee78d0c7cbd4fa5c40a799' into eclair

* commit 'aa1be08c90507e20c1ee78d0c7cbd4fa5c40a799':
  Add test definition for cts-gesture.
2009-08-26 17:46:15 -07:00
Brett Chabot
08a3dc0d34 Add test definition for cts-gesture.
BUG 2048364

Change-Id: I71b2cc197a9f6809dfb863d919a7fdeae75bd411
2009-08-26 11:58:23 -07:00
Xia Wang
68b4bfa8d3 am 12ad9fb1: 1. Add .c extension to native_test.py so that native test in C can also be picked up by testrunner. 2. Add netkeystore_test into continuous test cycle.
Merge commit '12ad9fb10e1be799fa47a56ee1f1429b761db6e6' into eclair

* commit '12ad9fb10e1be799fa47a56ee1f1429b761db6e6':
  1. Add .c extension to native_test.py so that native test in C can also be picked up by testrunner.
2009-08-18 10:59:31 -07:00
Xia Wang
12ad9fb10e 1. Add .c extension to native_test.py so that native test in C can also be picked up by testrunner.
2. Add netkeystore_test into continuous test cycle.
2009-08-14 15:58:36 -07:00
Brett Chabot
483fd09047 am f9775cae: Add test definition for cts-telephony.
Merge commit 'f9775cae58019df93a0618054586702a2efec8a5'

* commit 'f9775cae58019df93a0618054586702a2efec8a5':
  Add test definition for cts-telephony.
2009-08-12 15:20:03 -07:00
Brett Chabot
f9775cae58 Add test definition for cts-telephony.
BUG 2048364
2009-08-12 14:48:14 -07:00
Jack Wang
16eac2a6dc Fix bug 2046932: Puppetmaster cannot parse test result output on master branch
- Parse result fields as generic key/value pairs
- Accept empty value, e.g. INSTRUMENTATION_RESULT: stream=
2009-08-11 23:58:52 -07:00
Brett Chabot
1803b393ec am 390634f1: Merge change 20684 into donut
Merge commit '390634f182fa3a0859d7757c5de709fe35b82425'

* commit '390634f182fa3a0859d7757c5de709fe35b82425':
  Fix runtest launchperf test definition.
2009-08-11 18:11:45 -07:00
Brett Chabot
a6851d7aae Fix runtest launchperf test definition.
BUG 2045435
2009-08-10 17:12:27 -07:00
Android (Google) Code Review
586e3d16b0 am f19a3083: Merge change 9239 into donut
Merge commit 'f19a3083e77eeab2026436e4d04329d4b5aba8bf'

* commit 'f19a3083e77eeab2026436e4d04329d4b5aba8bf':
  Since bug 1966269 is fixed, marking calprov tests as continuous=true
2009-07-31 10:58:50 -07:00
Swarna Kumar
8aca5b8afd Since bug 1966269 is fixed, marking calprov tests as continuous=true 2009-07-30 15:03:25 -07:00
Yu Shan Emily Lau
0fd581ec61 am 4fed1db8: Add the test definition of the vpn tests.
Merge commit '4fed1db841b1a25f50b250c670c54c927b641782'

* commit '4fed1db841b1a25f50b250c670c54c927b641782':
  Add the test definition of the vpn tests.
2009-07-21 16:10:47 -07:00
Yu Shan Emily Lau
4fed1db841 Add the test definition of the vpn tests. 2009-07-21 15:59:43 -07:00
Swarna Kumar
59fe535348 am 865f57e7: Removing continuous attribute for the calendar provider tests.
Merge commit '865f57e7087042fd382b67dfda48b01b6f4444e4'

* commit '865f57e7087042fd382b67dfda48b01b6f4444e4':
  Removing continuous attribute for the calendar provider tests.
2009-07-21 14:38:50 -07:00
Swarna Kumar
865f57e708 Removing continuous attribute for the calendar provider tests. 2009-07-21 13:19:43 -07:00
Android (Google) Code Review
cfc030add2 am 09db257e: Merge change 7904 into donut
Merge commit '09db257e6de804946144d8d4f31873f59a1a2f8a'

* commit '09db257e6de804946144d8d4f31873f59a1a2f8a':
  Removing calprov test suite from continuous build until to get real fix for bug 1966269
2009-07-20 11:34:58 -07:00
Swarna Kumar
88a8f7be4f Removing calprov test suite from continuous build until to get real fix for bug 1966269 2009-07-20 11:19:34 -07:00
Android (Google) Code Review
34e0370f4e am 30a06f41: Merge change 5737 into donut
Merge commit '30a06f411537a63b9039f8a07a37863ee6978ce6'

* commit '30a06f411537a63b9039f8a07a37863ee6978ce6':
  Fix bug 1844502: Add create_test.py to generate Android.mk and AndroidManifest.xml for application tests.
2009-07-16 17:54:39 -07:00
Android (Google) Code Review
30a06f4115 Merge change 5737 into donut
* changes:
  Fix bug 1844502: Add create_test.py to generate Android.mk and AndroidManifest.xml for application tests.
2009-07-16 14:55:39 -07:00
Android (Google) Code Review
9fb515e2b2 am 62fec6f0: Merge change 6767 into donut
Merge commit '62fec6f07040c7acb1e9c6877a9579f87f54d4c0'

* commit '62fec6f07040c7acb1e9c6877a9579f87f54d4c0':
  Modify runtest test_defs to adjust for rename of cts-installtests.
2009-07-10 12:11:03 -07:00
Brett Chabot
222c8a0634 Modify runtest test_defs to adjust for rename of cts-installtests. 2009-07-10 12:39:26 -04:00
niko
2dafd06c18 Fix bug to be able to run binaries under valgrind. 2009-07-07 13:22:33 -07:00
Android (Google) Code Review
7236fbf8d4 am 5dffb064: Merge change 5727 into donut
Merge commit '5dffb0649b9bf2c73f36db8a0cc00535bd36385d'

* commit '5dffb0649b9bf2c73f36db8a0cc00535bd36385d':
  runtest: Remove run_command -> android_build dependency.
2009-07-01 11:19:12 -07:00
Brett Chabot
0644cbbfcf am e0bf8162: testrunner: Allow spaces in instrumentation arguments and remove check for test app presence.
Merge commit 'e0bf8162f078d0d9e6170110cd8ab40a8fe8ab1a'

* commit 'e0bf8162f078d0d9e6170110cd8ab40a8fe8ab1a':
  testrunner: Allow spaces in instrumentation arguments and remove check for test
2009-07-01 00:07:11 -07:00
Jack Wang
2abd80af5a Fix bug 1844502: Add create_test.py to generate Android.mk and AndroidManifest.xml for application tests. 2009-06-30 18:39:33 -07:00
Android (Google) Code Review
1d4cfc2993 am 14b3c0c9: Merge change 5626 into donut
Merge commit '14b3c0c9a440016b996c485b820f1bd57bd63695'

* commit '14b3c0c9a440016b996c485b820f1bd57bd63695':
  Fix relative class path arg handling in runtest, and some lint errors.
2009-06-30 14:48:50 -07:00
Brett Chabot
bf7863ec27 runtest: Remove run_command -> android_build dependency.
This is desired because run_command is used by puppetmaster which should have
no dependency on android build system.
2009-06-29 17:44:52 -07:00
Brett Chabot
f03d30eeea am 764d3fa7: Add support for running host java tests to runtest.
Merge commit '764d3fa70d42a79e2ee999b790e69fc55f12bf61'

* commit '764d3fa70d42a79e2ee999b790e69fc55f12bf61':
  Add support for running host java tests to runtest.
2009-06-29 16:37:41 -07:00
Brett Chabot
e0bf8162f0 testrunner: Allow spaces in instrumentation arguments and remove check for test
app presence.
2009-06-29 13:55:30 -07:00