Add helper script to manage uploading data to logdog from the
test runner. Also, add new 'links' entry to results.json file
which will primarily contain logdog URLs.
Review-Url: https://codereview.chromium.org/2664873002
Cr-Original-Commit-Position: refs/heads/master@{#448080}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: c422ef3ada9263e775bd13bef3b0657197d84222
This also includes:
- removal of the old base_test_runner + test_dispatcher code, since
the linker tests were the last remaining users.
- gn changes to make a wrapper script for the linker tests s.t. they
can be run with <output directory>/bin/run_chromium_linker_test_apk
Review-Url: https://codereview.chromium.org/2605793002
Cr-Original-Commit-Position: refs/heads/master@{#441274}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: bf713870ac13487b9a3e2dc639b87f3810058cc9
Before would have to download the uploaded json, and then view it in the
trace viewer. This uses the trace2html bin in catapult to generate the
html file so that all you have to do is download the html file.
Review-Url: https://codereview.chromium.org/2596443004
Cr-Original-Commit-Position: refs/heads/master@{#439964}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: c56d9aa584599843a31ebb688cff22d7d66d3621
This adds the ability to set --trace-output <dir> and generate a json file that
can be opened in the chrome trace viewer that will display timelines of when
each test is run on which testing shard.
BUG=667470
Review-Url: https://codereview.chromium.org/2583613002
Cr-Original-Commit-Position: refs/heads/master@{#439125}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 293fc82cb952c4c0d0ef816b8b86b7e1a63ada9a
This will replace running CTS tests with tradefed. Advantages are...
- Cannot shard per-test on tradefed. tradefed only allows per-suite
sharding IIRC which isn't useful since we just run 1 suite
- Cannot set test timeouts with tradefed. Some CTS get stuck and run
for +10 minutes when run with tradefed.
- Cannot easily disable tests with tradefed. Now you can use the
test_runner.py test filter options.
- No longer need specific Java versions to run CTS tests. Android L
tradefed explicitly required Java 7, whereas Android N tradefed
requires Java 8
Review-Url: https://codereview.chromium.org/2541733002
Cr-Original-Commit-Position: refs/heads/master@{#436391}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 9f18c194e760eea0b47572bbade97cafdc5e13d3
This supports Java auto-completion, but probably not many
more advanced features since it doesn't include resources,
assets, etc.
It also likely doesn't work for test apks yet (haven't tried it).
Usage:
build/android/generate_gradle.py \
--output-directory out/Default \
--target //chrome/android:chrome_public_apk \
--project-dir my-project-dir
BUG=620034
Review-Url: https://codereview.chromium.org/2130933002
Cr-Original-Commit-Position: refs/heads/master@{#405431}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 0fa1a09f4f5418b05248c48e995ce7434970e6cc
This requires adding fastboot_utils to put a device into fastboot mode
and interact with it while in fastboot mode.
BUG=543257
Review URL: https://codereview.chromium.org/1417373002
Cr-Original-Commit-Position: refs/heads/master@{#357939}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 536629676d896885ca26b05ba69f2fb8c4fad702
This mainly affects devil.android.decorators. Before the change a
decorated method called by a RunAsync thread would have a separate
timeout created for it. With this change, methods within RunAsync detect
that there already exists an outer timeout thread, and do not have a
separate timeout applied to them.
BUG=
Review URL: https://codereview.chromium.org/1376473006
Cr-Original-Commit-Position: refs/heads/master@{#351947}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 1ddba0da5c8684a016f0ff853614d1dd6d9d178e
Reason for revert:
Fixed import path and ensured "ninja all" builds locally.
Original issue's description:
> Revert of CallAndRecordIfStale(): Add knownledge of output_files, depfiles, stamp (patchset #4 id:60001 of https://codereview.chromium.org/1356873003/ )
>
> Reason for revert:
> broke Android build (see other messages for details).
>
> Original issue's description:
> > CallAndRecordIfStale(): Add knownledge of output_files, depfiles, stamp
> >
> > Added output_paths to md5_check.py since it cuts down on
> > force=os.path.exists() boilder-plate (plus places that were forgetting
> > it). It also improves the message printed when PRINT_MD5_DIFFS=1 is set.
> >
> > Added a wrapper in build_utils.py that automatically handles --depfile
> > and --stamp options, which further cuts down on boilerplate in the
> > clients.
> >
> > Removed colorama to eliminate circular dependency between build_utils
> > and md5_check.
> >
> > BUG=533442
> >
> > Committed: https://crrev.com/dea0f30983bc18874ac8c49443fb5079d4c1b798
> > Cr-Commit-Position: refs/heads/master@{#350599}
>
> TBR=jbudorick@chromium.org,stgao@chromium.org,agrieve@chromium.org
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
> BUG=533442
>
> Committed: https://crrev.com/1748d384c547136d059d413f5acbb1622ba548f0
> Cr-Commit-Position: refs/heads/master@{#350626}
TBR=jbudorick@chromium.org,stgao@chromium.org,caitkp@chromium.org
NOTRY=true
BUG=533442
Review URL: https://codereview.chromium.org/1369593002
Cr-Original-Commit-Position: refs/heads/master@{#350647}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: ca0e19488b8e75ae5546c09f89787dec580f0916
Reason for revert:
broke Android build (see other messages for details).
Original issue's description:
> CallAndRecordIfStale(): Add knownledge of output_files, depfiles, stamp
>
> Added output_paths to md5_check.py since it cuts down on
> force=os.path.exists() boilder-plate (plus places that were forgetting
> it). It also improves the message printed when PRINT_MD5_DIFFS=1 is set.
>
> Added a wrapper in build_utils.py that automatically handles --depfile
> and --stamp options, which further cuts down on boilerplate in the
> clients.
>
> Removed colorama to eliminate circular dependency between build_utils
> and md5_check.
>
> BUG=533442
>
> Committed: https://crrev.com/dea0f30983bc18874ac8c49443fb5079d4c1b798
> Cr-Commit-Position: refs/heads/master@{#350599}
TBR=jbudorick@chromium.org,stgao@chromium.org,agrieve@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=533442
Review URL: https://codereview.chromium.org/1369583002
Cr-Original-Commit-Position: refs/heads/master@{#350626}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 1748d384c547136d059d413f5acbb1622ba548f0
Added output_paths to md5_check.py since it cuts down on
force=os.path.exists() boilder-plate (plus places that were forgetting
it). It also improves the message printed when PRINT_MD5_DIFFS=1 is set.
Added a wrapper in build_utils.py that automatically handles --depfile
and --stamp options, which further cuts down on boilerplate in the
clients.
Removed colorama to eliminate circular dependency between build_utils
and md5_check.
BUG=533442
Review URL: https://codereview.chromium.org/1356873003
Cr-Original-Commit-Position: refs/heads/master@{#350599}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: dea0f30983bc18874ac8c49443fb5079d4c1b798
This also re-organizes a bit by moving all incremental install related
files into //build/android/incremental_install.
BUG=520082
Review URL: https://codereview.chromium.org/1338813003
Cr-Original-Commit-Position: refs/heads/master@{#349200}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 933f2593199c4f95678ddda884aa476ff1fe0c23
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
This CL contains the first part of a script that will be used to
generate code coverage stats for Java code. The coverage tool used,
EMMA, only provides line by line coverage information in the form of
HTML reports, so this CL handles parsing these files.
BUG=501536
Review URL: https://codereview.chromium.org/1211243016
Cr-Original-Commit-Position: refs/heads/master@{#340833}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: cf902beeaf9f13167abe9d5631ae1d3be9303d92
LogcatMonitor provides the same functionality as
AndroidCommands.WaitForLogMatch and the associated functions.
BUG=267773
Review URL: https://codereview.chromium.org/896503002
Cr-Original-Commit-Position: refs/heads/master@{#314384}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 7103545f9756c669cf3d29085658f9fb159a0d18
The deletions-only check is causing a lot of issues with the upstreaming
effort, so I'm disabling it temporarily.
BUG=
Review URL: https://codereview.chromium.org/820053003
Cr-Original-Commit-Position: refs/heads/master@{#311476}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: d4646647dea3fa62f5682af240009b9dbf29b4b9
This patch also removes a call to AdbInterface.StartInstrumentation and
implements some of the functionality of am_instrument_parser.py.
BUG=408585
Review URL: https://codereview.chromium.org/558883003
Cr-Original-Commit-Position: refs/heads/master@{#295491}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: cbcc115def0fe5d2cf4c2018fccbbc16fd4c5aba
Some versions of gtest print type- and value-parameterized tests with
their respective parameter as a comment after the test name when listing
tests. This patch should allow the android test runner scripts to
correctly ignore these comments.
BUG=
Review URL: https://codereview.chromium.org/441783002
git-svn-id: http://src.chromium.org/svn/trunk/src/build@287548 4ff67af0-8c30-449e-8e8b-ad334ec8d88c