Граф коммитов

50 Коммитов

Автор SHA1 Сообщение Дата
agrieve 8de09d6a0b Use the new DeviceUtils.HealthyDevices(device_arg=) in a few scripts
BUG=none

Review URL: https://codereview.chromium.org/1895163002

Cr-Original-Commit-Position: refs/heads/master@{#387991}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: bb574a0099d40f6ce916fd5a2dd2118dbbce7a36
2016-04-18 20:04:24 +00:00
jbudorick ee7007bf34 [Android] Add configurable timeout to adb_install_apk.py
BUG=

Review URL: https://codereview.chromium.org/1630953002

Cr-Original-Commit-Position: refs/heads/master@{#371326}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: ee79fb6cc2e8c513fa5290bfe98a433aa8cea64f
2016-01-25 21:56:34 +00:00
jbudorick 1a632a8a1b [Android] Make the adb path configurable in three scripts.
BUG=526305

Review URL: https://codereview.chromium.org/1577383002

Cr-Original-Commit-Position: refs/heads/master@{#369018}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: be1dd78c6dd4698bd11859be45892280ef2f799b
2016-01-12 22:53:33 +00:00
rnephew 318e5d01e5 [Android] Add support for installing older versions of installed apks.
BUG=514449

Review URL: https://codereview.chromium.org/1511473004

Cr-Original-Commit-Position: refs/heads/master@{#363909}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 2dfc54f3c104cb2678b9fed90452fe74de66b626
2015-12-09 02:14:24 +00:00
rnephew 4145539c0c [Android] Make adb_install_apk.py support multiple specific devices
Currently, only 1 or all devices can be installed form one invocation.
This changes allows for multiple devices to be specified.

BUG=514449

Review URL: https://codereview.chromium.org/1503933003

Cr-Original-Commit-Position: refs/heads/master@{#363637}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 1f4f32555e00e0cd72e40fd78080c61339fcc87d
2015-12-08 00:47:57 +00:00
jbudorick 6eef731f85 [Android] Add a configurable environment for devil/. (RELAND 2)
This is a reland of https://codereview.chromium.org/1399273002

BUG=476719

Review URL: https://codereview.chromium.org/1416703003

Cr-Original-Commit-Position: refs/heads/master@{#363204}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 0c2a94ab87e6351b924a19932442e85a8f786fa0
2015-12-04 14:28:57 +00:00
bpastene 19671f963f specify the reason for blacklisting
BUG=482259

Review URL: https://codereview.chromium.org/1430663002

Cr-Original-Commit-Position: refs/heads/master@{#356731}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: dca5d7a23fee0d57298e192921da79c814833296
2015-10-29 01:45:56 +00:00
jbudorick 9ec9f0692b Revert of [Android] Add a configurable environment for devil/. (RELAND) (patchset #12 id:220001 of https://codereview.chromium.org/1399273002/ )
Reason for revert:
broke cluster telemetry: https://code.google.com/p/skia/issues/detail?id=4506

Original issue's description:
> [Android] Add a configurable environment for devil/. (RELAND)
>
> This is a reland of https://codereview.chromium.org/1316413003/
>
> BUG=476719
>
> Committed: https://crrev.com/06869eebcab4b41d21e96ea2df732a2b40914fe4
> Cr-Commit-Position: refs/heads/master@{#355683}

TBR=aiolos@chromium.org,nednguyen@google.com,mikecase@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=476719

Review URL: https://codereview.chromium.org/1415413005

Cr-Original-Commit-Position: refs/heads/master@{#355774}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 814dac5c6b2e257aa493fc7b0541412a04440ff2
2015-10-23 13:42:37 +00:00
jbudorick 35c294bd5b [Android] Add a configurable environment for devil/. (RELAND)
This is a reland of https://codereview.chromium.org/1316413003/

BUG=476719

Review URL: https://codereview.chromium.org/1399273002

Cr-Original-Commit-Position: refs/heads/master@{#355683}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 06869eebcab4b41d21e96ea2df732a2b40914fe4
2015-10-23 00:07:15 +00:00
jbudorick 6ac5f02cf0 [Android] Don't use a device blacklist if one isn't provided. (RELAND 2)
original: https://codereview.chromium.org/1314823011
reland 1: https://codereview.chromium.org/1304303006

BUG=517709
TBR=rnephew@chromium.org,phajdan.jr@chromium.org

Review URL: https://codereview.chromium.org/1331213004

Cr-Original-Commit-Position: refs/heads/master@{#348418}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: a583ba3c77f32c0a1c4a870d5d8734b003150396
2015-09-11 17:23:59 +00:00
jbudorick 073fd3db51 Revert of [Android] Don't use a device blacklist if one isn't provided. (RELAND) (patchset #3 id:40001 of https://codereview.chromium.org/1304303006/ )
Reason for revert:
broke the gpu bots again? https://code.google.com/p/chromium/issues/detail?id=530242

Original issue's description:
> [Android] Don't use a device blacklist if one isn't provided. (RELAND)
>
> This is a reland of https://codereview.chromium.org/1314823011
>
> BUG=517709
>
> Committed: https://crrev.com/7555cbb5daf4fb30cb56de9ed4dd8bcd565b5cf6
> Cr-Commit-Position: refs/heads/master@{#348158}

TBR=phajdan.jr@chromium.org,rnephew@chromium.org,rnephew@google.com
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=517709

Review URL: https://codereview.chromium.org/1334803002

Cr-Original-Commit-Position: refs/heads/master@{#348174}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 414d29f60e80faaf06ff974e4967bc4452fa3fa7
2015-09-10 17:26:32 +00:00
jbudorick 3e069c5945 [Android] Don't use a device blacklist if one isn't provided. (RELAND)
This is a reland of https://codereview.chromium.org/1314823011

BUG=517709

Review URL: https://codereview.chromium.org/1304303006

Cr-Original-Commit-Position: refs/heads/master@{#348158}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 7555cbb5daf4fb30cb56de9ed4dd8bcd565b5cf6
2015-09-10 15:39:01 +00:00
jbudorick 649b540d43 [Android] Add a custom pylintrc for build/android/.
The default depot_tools pylintrc disables some checks that we can
reasonably enable in build/android/. This CL does so.

BUG=

Review URL: https://codereview.chromium.org/1315743004

Cr-Original-Commit-Position: refs/heads/master@{#347720}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 58b4d3677418a2360c23e118199f5cf8992d4178
2015-09-08 16:45:52 +00:00
robertocn b63cdf1839 Revert of [Android] Don't use a device blacklist if one isn't provided. (patchset #1 id:1 of https://codereview.chromium.org/1314823011/ )
Reason for revert:
Speculative revert, some builders (Nexus 5, 6 and 9 under chromium.gpu) are failing at the device status check step after this change due to:

  File "build/android/buildbot/bb_device_status_check.py", line 154, in blacklisting_device_status
    if not serial in blacklist.Read():
AttributeError: 'NoneType' object has no attribute 'Read'

See http://build.chromium.org/p/chromium.gpu/builders/Android%20Debug%20%28Nexus%205%29/builds/2067 for example.

Original issue's description:
> [Android] Don't use a device blacklist if one isn't provided.
>
> BUG=517709
>
> Committed: https://crrev.com/be5c91849d2196f97c7a4e0b3e90597c3f2b4c40
> Cr-Commit-Position: refs/heads/master@{#347473}

TBR=rnephew@chromium.org,jbudorick@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=517709

Review URL: https://codereview.chromium.org/1306653005

Cr-Original-Commit-Position: refs/heads/master@{#347489}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 0179090eb844b39ea55bd70e8e2202c4d3a81026
2015-09-04 21:20:11 +00:00
jbudorick db0259a731 [Android] Don't use a device blacklist if one isn't provided.
BUG=517709

Review URL: https://codereview.chromium.org/1314823011

Cr-Original-Commit-Position: refs/heads/master@{#347473}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: be5c91849d2196f97c7a4e0b3e90597c3f2b4c40
2015-09-04 19:47:07 +00:00
jbudorick b4acfff235 [Android][telemetry] Update pylib imports for modules that moved into devil.
BUG=476719

Review URL: https://codereview.chromium.org/1314313004

Cr-Original-Commit-Position: refs/heads/master@{#347187}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 06162944abfc0cba869f7e783a7c5a7d94246288
2015-09-03 18:02:10 +00:00
jbudorick f0ef4e9f56 [Android] Add --blacklist-file as a command-line option. (RELAND)
This is a reland of https://codereview.chromium.org/1281923003

BUG=517709

Review URL: https://codereview.chromium.org/1294713008

Cr-Original-Commit-Position: refs/heads/master@{#345779}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: dde688fb441bd1c2be34c50b8b88c2791bcc4765
2015-08-27 03:01:13 +00:00
jbudorick 8d32b11919 Revert of [Android] Add --blacklist-file as a command-line option. (patchset #5 id:80001 of https://codereview.chromium.org/1281923003/ )
Reason for revert:
broke the perf bots, will fix and reland.

Original issue's description:
> [Android] Add --blacklist-file as a command-line option.
>
> BUG=517709
>
> Committed: https://crrev.com/9874769cf24b5870d9bb7c22fe5312b1cf8bcd5e
> Cr-Commit-Position: refs/heads/master@{#344125}

TBR=eakuefner@chromium.org,mikecase@chromium.org,nednguyen@google.com,rnephew@chromium.org,sullivan@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=517709

Review URL: https://codereview.chromium.org/1292053006

Cr-Original-Commit-Position: refs/heads/master@{#344141}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 0dfa60a346d99e7a9420496a585dfc5ec36f0fe7
2015-08-19 04:21:45 +00:00
jbudorick dacbae0bde [Android] Add --blacklist-file as a command-line option.
BUG=517709

Review URL: https://codereview.chromium.org/1281923003

Cr-Original-Commit-Position: refs/heads/master@{#344125}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 9874769cf24b5870d9bb7c22fe5312b1cf8bcd5e
2015-08-19 01:57:12 +00:00
mikecase 2e58360de9 [Android] Add support for installing split apks with adb_install_apk.
BUG=

Review URL: https://codereview.chromium.org/1200543002

Cr-Original-Commit-Position: refs/heads/master@{#337664}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: ada7766d2c9f25712627e5a5e434a624863ed53f
2015-07-07 19:33:51 +00:00
twifkak c7ee12d8b3 Fix adb_install_apk, broken by 9b3e716.
In http://crrev.com/9b3e716, args.apk was renamed to args.apk_name, but
a couple of exception handlers weren't updated to follow suit. This
fixes them, so they report proper error messages along with upstream
backtraces.

BUG=498232

Review URL: https://codereview.chromium.org/1222453003

Cr-Original-Commit-Position: refs/heads/master@{#337048}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 4582edfe2b138fd63645caddde198dc7fee9bd0a
2015-07-01 16:58:00 +00:00
jbudorick cabb119a55 [Android] Make adb_install_apk use the device blacklist. (RELAND)
BUG=498232

Review URL: https://codereview.chromium.org/1181093002

Cr-Original-Commit-Position: refs/heads/master@{#335045}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 9b3e7160d9ed50b3ce47d687a2875f6eb1ef04f4
2015-06-18 15:22:39 +00:00
jbudorick 864c07baaa Revert of [Android] Make adb_install_apk use the device blacklist. (patchset #1 id:1 of https://codereview.chromium.org/1182623002/)
Reason for revert:
broke at least chromium.gpu: http://build.chromium.org/p/chromium.gpu/builders/Android%20Debug%20%28Nexus%207%29/builds/21362

Original issue's description:
> [Android] Make adb_install_apk use the device blacklist.
>
> BUG=498232
>
> Committed: https://crrev.com/7197964049d0db49c02421859b6dafc7bfdc516e
> Cr-Commit-Position: refs/heads/master@{#334073}

TBR=navabi@chromium.org,mikecase@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=498232

Review URL: https://codereview.chromium.org/1186443002

Cr-Original-Commit-Position: refs/heads/master@{#334123}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 9d5368439e8115ee9ff055917b684f5b9badafcc
2015-06-12 03:53:39 +00:00
jbudorick 23d6d6f57c [Android] Make adb_install_apk use the device blacklist.
BUG=498232

Review URL: https://codereview.chromium.org/1182623002

Cr-Original-Commit-Position: refs/heads/master@{#334073}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 7197964049d0db49c02421859b6dafc7bfdc516e
2015-06-11 23:28:11 +00:00
jbudorick fc35474d97 [Android] Remove more references to and uses of AndroidCommands.
This includes removing most direct references and uses from telemetry.

BUG=267773,476709

Review URL: https://codereview.chromium.org/1132993004

Cr-Original-Commit-Position: refs/heads/master@{#329963}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: ac496302b1d0ada0bbe8ef7beecfdff67d480c6b
2015-05-14 22:52:42 +00:00
jbudorick c6cfd35f12 [Android] Rework device filtering and add DeviceUtils.HealthyDevices.
BUG=267773

Review URL: https://codereview.chromium.org/1101603002

Cr-Original-Commit-Position: refs/heads/master@{#326825}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 119e45757ba123428de29eadb01bda22f322e788
2015-04-24 17:20:08 +00:00
jbudorick 2a4f7b8206 [Android] Remove android_commands uses from build/android/. (reland)
original CL:  https://codereview.chromium.org/1088793002/

BUG=267773

Review URL: https://codereview.chromium.org/1083403002

Cr-Original-Commit-Position: refs/heads/master@{#325439}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: bfffb22e47e9c20bc2a7019d47f7e986a63f42f5
2015-04-16 14:10:16 +00:00
jbudorick d8fcf6f66a Revert of [Android] Remove android_commands uses from build/android/. (patchset #4 id:60001 of https://codereview.chromium.org/1088793002/)
Reason for revert:
Broken for AdbWrapper.Devices(filters=None)

Original issue's description:
> [Android] Remove android_commands uses from build/android/.
>
> This also adds filtering to AdbWrapper.GetDevices().
>
> BUG=267773
>
> Committed: https://crrev.com/55d1762e76ebe2494c882594c620993419d97b98
> Cr-Commit-Position: refs/heads/master@{#325254}

TBR=perezju@chromium.org,klundberg@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=267773

Review URL: https://codereview.chromium.org/1089273002

Cr-Original-Commit-Position: refs/heads/master@{#325276}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 61b860c0b5bf89c0647ea488cf787c79924bd703
2015-04-15 18:25:13 +00:00
jbudorick c43948de99 [Android] Remove android_commands uses from build/android/.
This also adds filtering to AdbWrapper.GetDevices().

BUG=267773

Review URL: https://codereview.chromium.org/1088793002

Cr-Original-Commit-Position: refs/heads/master@{#325254}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 55d1762e76ebe2494c882594c620993419d97b98
2015-04-15 16:12:12 +00:00
yang.gu@intel.com 63283308f4 Add option device in install apk script
Sometimes we need to designate device to install apk on, so this option
is needed.

BUG=

Review URL: https://codereview.chromium.org/321403002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@277050 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-13 18:08:25 +00:00
jbudorick@chromium.org f117f4656f [Android] Switch to DeviceUtils versions of Reboot and Install.
BUG=267773
NOTRY=true

Review URL: https://codereview.chromium.org/292313015

git-svn-id: http://src.chromium.org/svn/trunk/src/build@276702 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-12 16:24:23 +00:00
mlamouri@chromium.org a208acb79f Make adb_install_apk.py saner for humans.
Scripts like that usually do not require a --option if this is a
mandatory singleton argument. Also, forgetting to pass the extension
sounds like something that the script could simply handle.

BUG=None

Review URL: https://codereview.chromium.org/286423002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@275755 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-08 20:11:16 +00:00
jbudorick@chromium.org 0408408ab5 [Android] Support generic parallel execution across devices.
BUG=267773

Review URL: https://codereview.chromium.org/290573004

git-svn-id: http://src.chromium.org/svn/trunk/src/build@272159 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-22 11:13:40 +00:00
mlamouri@chromium.org b61ea82960 Move AddBuildTypeOption to adb_install_apk.py and remove test_options_parser.py
BUG=None

Review URL: https://codereview.chromium.org/292653003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@271820 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-21 02:27:41 +00:00
jbudorick@chromium.org 13b8cb19e8 [Android] Change object types from AndroidCommands to DeviceUtils in build/android/.
BUG=267773

Review URL: https://codereview.chromium.org/221823011

git-svn-id: http://src.chromium.org/svn/trunk/src/build@263055 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-10 19:37:30 +00:00
craigdh@chromium.org 436edf51e9 [android] Relands: Adds constants.GetBuildDirectory() and converts test scripts to use it.
BUG=260494
TEST=None
NOTRY=True

Review URL: https://chromiumcodereview.appspot.com/23494039

git-svn-id: http://src.chromium.org/svn/trunk/src/build@222313 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-09-10 18:29:03 +00:00
johnme@chromium.org 802e2f3b10 Revert 221736 "[android] Adds constants.GetOutDirectory() and co..."
Consistently causing WebKit Android (Nexus4) to fail provision_devices.

> [android] Adds constants.GetOutDirectory() and converts test scripts to use it.
> 
> BUG=260494
> TEST=None
> NOTRY=True
> 
> Review URL: https://chromiumcodereview.appspot.com/22903016

TBR=craigdh@chromium.org

Review URL: https://codereview.chromium.org/23926012

git-svn-id: http://src.chromium.org/svn/trunk/src/build@222008 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-09-09 11:36:03 +00:00
craigdh@chromium.org babb42acc8 [android] Adds constants.GetOutDirectory() and converts test scripts to use it.
BUG=260494
TEST=None
NOTRY=True

Review URL: https://chromiumcodereview.appspot.com/22903016

git-svn-id: http://src.chromium.org/svn/trunk/src/build@221736 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-09-06 18:11:02 +00:00
craigdh@chromium.org 08bbe7f14d [android] Fix adb_install_apk.py's printed message.
BUG=None
TEST=None
NOTRY=True

Review URL: https://chromiumcodereview.appspot.com/21133007

git-svn-id: http://src.chromium.org/svn/trunk/src/build@214710 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-31 13:41:20 +00:00
gkanwar@google.com 0c42207094 Relands test_runner.py, updates buildbot scripts
Relands 210035 ("Creates a new test running script test_runner.py"),
and updates the buildbot scripts to point to the test_runner.py script,
so the buildbots don't get deprecated warnings.

BUG=248351

Review URL: https://chromiumcodereview.appspot.com/18514008

git-svn-id: http://src.chromium.org/svn/trunk/src/build@210538 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-09 09:03:26 +00:00
ilevy@chromium.org 56f6e3c191 Revert 210035 "Creates a new test running script test_runner.py"
Causes android buildbots to spew deprecation warnings.

> Creates a new test running script test_runner.py
> 
> This new script serves as a unified entry point for all tests. The
> existing scripts are now just wrappers around the new script. Old
> commands should thus still work, but you can now make use of the
> new script to run various types of tests.
> 
> There are a few TODOs left:
> * Add options to run Monkey tests.
> 
> Miscellaneous notes:
> * --python_test_root is now a required flag when Python host-driven
>   tests are being run.
> 
> BUG=248351
> 
> Review URL: https://chromiumcodereview.appspot.com/15942016

TBR=gkanwar@google.com

Review URL: https://codereview.chromium.org/18732002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@210251 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-05 02:29:05 +00:00
gkanwar@google.com 40f6a425e6 Creates a new test running script test_runner.py
This new script serves as a unified entry point for all tests. The
existing scripts are now just wrappers around the new script. Old
commands should thus still work, but you can now make use of the
new script to run various types of tests.

There are a few TODOs left:
* Add options to run Monkey tests.

Miscellaneous notes:
* --python_test_root is now a required flag when Python host-driven
  tests are being run.

BUG=248351

Review URL: https://chromiumcodereview.appspot.com/15942016

git-svn-id: http://src.chromium.org/svn/trunk/src/build@210035 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-03 20:31:43 +00:00
frankf@chromium.org 8a450f5010 [Android] Enable running uiautomator tests.
- uiautomator uses instrumentation runner for results reporting.
- Separate the concept of test jar (for progaurd consumption) from test
  apk
- clear the app before every uiautomator test

BUG=162742
NOTRY=True

Review URL: https://chromiumcodereview.appspot.com/12921004

git-svn-id: http://src.chromium.org/svn/trunk/src/build@189343 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-03-20 18:06:53 +00:00
nduca@chromium.org 74c614c8f2 Add --keep_data as option to adb_install_apk
Useful in a compile/debug/retry workflow where you're wanting to keep some options
persisted across installs. Defaults to off so it doesn't mess anything in production.

R=craigdh@chromium.org


Review URL: https://chromiumcodereview.appspot.com/12096018

git-svn-id: http://src.chromium.org/svn/trunk/src/build@179275 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-01-29 02:43:39 +00:00
craigdh@chromium.org 812aa2ed50 [Android] Fix for apk_info.py dependency error.
BUG=168813
TEST=adb_install_apk.py --apk=$PATH_TO_APK

Review URL: https://codereview.chromium.org/11773047

git-svn-id: http://src.chromium.org/svn/trunk/src/build@175563 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-01-08 18:40:40 +00:00
craigdh@chromium.org 7e48222284 [Android] Move GTest options to test_options_parser.py.
Also move some packages to utils.

BUG=167331
TEST=run_tests.py, device_stats_monitor.py

Review URL: https://codereview.chromium.org/11759012

git-svn-id: http://src.chromium.org/svn/trunk/src/build@175397 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-01-07 22:21:47 +00:00
frankf@google.com 05a3d7fd74 [Android] Revert 175082
> Separate apk_info and jar_info and move to utils dir.
> 
> This is in preparation for adding uiautomator test runner
> which runs tests without an apk.
> 
> BUG=167331
> 
> Review URL: https://codereview.chromium.org/11741025

TBR=craigdh@chromium.org

These will be replaced with concept of test packages.
Review URL: https://codereview.chromium.org/11780003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@175218 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-01-04 22:42:20 +00:00
frankf@google.com 50abe55900 Separate apk_info and jar_info and move to utils dir.
This is in preparation for adding uiautomator test runner
which runs tests without an apk.

BUG=167331

Review URL: https://codereview.chromium.org/11741025

git-svn-id: http://src.chromium.org/svn/trunk/src/build@175082 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-01-04 02:12:50 +00:00
bulach@chromium.org a093bd53df Android: makes "apk_package" optional in adb_install_apk.py
We can derive the package name from the mandatory apk.

BUG=
TEST=adb_install_apk.py --apk ContentShell.apk


Review URL: https://chromiumcodereview.appspot.com/11365004

git-svn-id: http://src.chromium.org/svn/trunk/src/build@165450 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-01 18:55:26 +00:00
klundberg@chromium.org b1a4c11621 Adds AndroidWebView and ChromiumTestShell tests to the Android FYI bot.
TEST=Ran the changes through the Android FYI (android_fyi_dbg) trybot.
BUG=152492

Review URL: https://codereview.chromium.org/10993069

git-svn-id: http://src.chromium.org/svn/trunk/src/build@159768 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-10-02 21:12:25 +00:00