81c475e4acd22bbece8658356cf279d82e65ff3c |
|
11-Sep-2012 |
Brett Chabot <brettchabot@google.com> |
Fix log syntax. And add better error message when instrumentation test is not present. Change-Id: I381421e59a3b667a5c3090ccd49e38fe99d680c5
|
7454171f1755187a2f3d0a8d9d7229a638b32f01 |
|
01-Sep-2012 |
Brett Chabot <brettchabot@google.com> |
Coverage and unbundling changes for runtest. Stop using 'adb sync' in runtest. It was unreliable even when working with full platform builds, and doesn't work at all for unbundled apps. Instead, use output from build command to find produced artifacts and use 'adb install' where possible. However, note that this approach won't sync previously built artifacts to device. Also adjust to build system support for code coverage. Its no longer required to build libcore to get code coverage. Change-Id: I9c5d37897c9570d2d29db3ec82f5c53e60a8f485
|
bb5918ed814ed8dded262d4558588a7183ca71ce |
|
18-Jun-2011 |
Brett Chabot <brettchabot@android.com> |
Add gtest target support for runtest --path. This is a rough initial version. It makes several assumptions: - assumes each test source file is built into module with name equal to basename of source file - assumes tests get installed into /data/nativetest However, given those assumptions, both: $ runtest --path <path to directory containing gtest source> and $ runtest --path <path to single source file> should work. Coming soon: gtest host support Bugs 4563370, 4584339 Change-Id: Ia42aeed7f9ee6402b0ceb7b5ccaaa66ac636fe49
|
cdfaae1a3409d380fab8228545d1b0d28ca070f7 |
|
07-Jun-2011 |
Brett Chabot <brettchabot@android.com> |
Make runtest reboot and root more robust. Add a couple sleep statements to allow time for device to go offline. Change-Id: I3a5fffc948f6c7b67bcdec4526990a6becd2d02f
|
b45644eac0de5994a1b4dda44597fa3be388df4d |
|
09-Jan-2011 |
Brett Chabot <brettchabot@android.com> |
Replace use of ro.monkey with ro.test_harness. Bug 3329873 Change-Id: Ia681803c3d0b0afeceb178b8314c9d7227d99355
|
9290dd9c7d6286906ef0f1fc9706e67ca0bb4bf4 |
|
18-Aug-2010 |
Ot ten Thije <ottenthije@google.com> |
Added adb_interface.WaitForProcess and WaitForProcessEnd. Relies mostly on common code factored out of WaitForDevicePm and WaitForDeviceInstrumentation.
|
ccae47d0c0fa1c2fa9e5b3286bdff9531b5221c3 |
|
15-Jun-2010 |
Brett Chabot <brettchabot@android.com> |
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
|
863870c168f2c2de36ba4f190ad03b2074a5c5ba |
|
15-Apr-2010 |
Guang Zhu <guangzhu@google.com> |
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
|
8aff3602e7dda266efa2ed5a9da481aad4d0a331 |
|
15-Apr-2010 |
Guang Zhu <guangzhu@google.com> |
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
|
e0bf8162f078d0d9e6170110cd8ab40a8fe8ab1a |
|
29-Jun-2009 |
Brett Chabot <brettchabot@google.com> |
testrunner: Allow spaces in instrumentation arguments and remove check for test app presence.
|
764d3fa70d42a79e2ee999b790e69fc55f12bf61 |
|
26-Jun-2009 |
Brett Chabot <brettchabot@google.com> |
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.
|
97d5c507304a865bfe4c2d8fe506b474aab13668 |
|
04-Jun-2009 |
Brett Chabot <brettchabot@google.com> |
Make runtest wait for instrumentation install before running test. This attempts to address bug 1872940 where runtest will attempt to run the test before all the new packages pushed via adb sync are actually installed. This won't completely fix the bug in all cases, but hopefully will help most situations.
|
ae68f1a8650415f97d8453c3b94897857695367b |
|
29-May-2009 |
Brett Chabot <brettchabot@google.com> |
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.
|
6c6c1ab5fd5b7559c271438f50b22edbea1e1f05 |
|
06-May-2009 |
Brett Chabot <brettchabot@google.com> |
Manual merge of runtest fixes in donut and new account test def add in master. commit 8a101cb057c1d1d5397b988b6a3f4c3add879008 Author: Brett Chabot <brettchabot@google.com> Date: Tue May 5 12:56:39 2009 -0700 runtest.py bug fixes. Improved error handling, and added support for "size" and "package" arguments. Removed deprecated runtest shell script.
|
8a101cb057c1d1d5397b988b6a3f4c3add879008 |
|
05-May-2009 |
Brett Chabot <brettchabot@google.com> |
runtest.py bug fixes. Improved error handling, and added support for "size" and "package" arguments. Removed deprecated runtest shell script.
|
9bec3079c9aafcf936d77bea4603e5c4588e80a2 |
|
31-Mar-2009 |
Brett Chabot <> |
AI 143713: am: CL 143688 am: CL 143562 Usability fixes for runtest.py Original author: brettchabot Merged from: //branches/cupcake/... Original author: android-build Merged from: //branches/donutburger/... Automated import of CL 143713
|
72731f3420eea590b107c7a03e9c269e609df3f5 |
|
31-Mar-2009 |
Brett Chabot <> |
AI 143688: am: CL 143562 Usability fixes for runtest.py Original author: brettchabot Merged from: //branches/cupcake/... Automated import of CL 143688
|
f7dd570dec9e6ceca93119f01cb583589533c940 |
|
31-Mar-2009 |
Brett Chabot <> |
AI 143562: Usability fixes for runtest.py BUG=1743678 Automated import of CL 143562
|
2b83cbdb14fcf0307e87b67d46ba17aab4c22a28 |
|
06-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@136654
|