0
Commit Graph

164 Commits

Author SHA1 Message Date
Michael Thiessen
cfe4665c59 Add markdown documentation for test batching.
Bug: 989569
Change-Id: I49c5124ccbbb4b921a65e7b42b7c46d05bfb87d9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2363867
Auto-Submit: Michael Thiessen <mthiesse@chromium.org>
Commit-Queue: Yaron Friedman <yfriedman@chromium.org>
Reviewed-by: Yaron Friedman <yfriedman@chromium.org>
Cr-Commit-Position: refs/heads/master@{#799716}
2020-08-19 18:03:17 +00:00
Dirk Pranke
8744a6783d Add --isolated-outdir flag to test executable API.
This adds an optional --isolated=outdir=PATH flag to the
test executable API; this gives the test runners a stable path
to the output directory from a swarming task, so that we can key
other files off of it without needing to pass them all explicitly
via the command line.

This also adds the arg to the isolated_script wrapper, so that we
those types of tests can handle the flag (by ignoring it for now).

We may need to work through the other cases (like gtest tests)
individually, which will be done in subsequent CLs.

Bug: 816629
Change-Id: Ibff6a47544bf94af5d7693a8446dfb669351cc07
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2358604
Commit-Queue: Dirk Pranke <dpranke@google.com>
Reviewed-by: Dirk Pranke <dpranke@google.com>
Reviewed-by: Erik Staab <estaab@chromium.org>
Reviewed-by: Ben Pastene <bpastene@chromium.org>
Cr-Commit-Position: refs/heads/master@{#799378}
2020-08-18 23:11:59 +00:00
Robert Ma
4f6eff17e9 [docs] Document how to use MojoJS in WPT
Also re-organize the structure of the doc to make it a bit more logical.

Bug: 1094512
Change-Id: I230de88902da3d4162af5f10332f7262a8465fcd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2363303
Commit-Queue: Robert Ma <robertma@chromium.org>
Reviewed-by: Stephen McGruer <smcgruer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#799367}
2020-08-18 22:44:45 +00:00
Xianzhu Wang
59283af802 Display [ Slow ] expectation in layout tests results.html
This is useful for developers to understand why some tests take
longer time to finish or timeout.

Change-Id: I6e9e83d2c9645bac338c074fa5f1f856d66552a8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2334473
Reviewed-by: Rakib Hasan <rmhasan@google.com>
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#796664}
2020-08-11 02:32:51 +00:00
Wolfgang Beyer
af543d736e Fix broken links in documentation for writing web tests
Change-Id: I185fd95debae1b80e578fbf061f076cd490938b2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2316866
Reviewed-by: Charlie Reis <creis@chromium.org>
Commit-Queue: Wolfgang Beyer <wolfi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#792165}
2020-07-28 06:30:46 +00:00
Marc Treib
07cf47aafd Remove various references to third_party/cacheinvalidation
The directory was recently deleted (crrev.com/c/2274884).

Bug: 1099672
Change-Id: I5e724a2251654899c8fd861f8796de07d17359b7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2297640
Reviewed-by: Mikel Astiz <mastiz@chromium.org>
Reviewed-by: Nodir Turakulov <nodir@chromium.org>
Reviewed-by: Mohamed Heikal <mheikal@chromium.org>
Reviewed-by: Scott Graham <scottmg@chromium.org>
Commit-Queue: Marc Treib <treib@chromium.org>
Cr-Commit-Position: refs/heads/master@{#790056}
2020-07-20 19:57:21 +00:00
Xianzhu Wang
adb0670a2f Update docs for runtime enabled features and web tests
Change-Id: I7230bd37e7f9c1c136e1c23b6acdc340eb089121
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2303452
Reviewed-by: Philip Rogers <pdr@chromium.org>
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#789247}
2020-07-16 23:04:58 +00:00
Dirk Pranke
31e346e656 Reland "Add a first pass of the desktop test wrapper scripts."
This reverts commit b679821 (change ) and
re-lands commit 956c4dc (change ) (without the addition
of //docs/testing/test_executable_api.md, which
landed separately already). Other changes landed that made
the re-land possible.

Original change's description:
> Add a first pass of the desktop test wrapper scripts.
>
> As described in the linked bug and documented in
> https://docs.google.com/document/d/19qpDeR2z-8j-WQJC-5waSd134kz94UXgYU_e_N-VplU/edit?usp=sharing
> we want to change how tests are launched under swarming so that
> they all have a consistent API and usage.
>
> We need to do at least some of this work now in order to unblock
> work going on in Swarming to change how a task's command line and
> list of files are specified, but doing all of the work in the linked
> doc and bug will significantly restructure how we configure and launch
> tests, and should bring a lot more consistency to our continuous
> integration infrastructure.
>
> This CL is a first step: a proof of concept that converts
> url_unittests on desktop to the new API in a backwards-compatible
> way (i.e., this will work with the existing chromium recipes).

TBR=tikuta@chromium.org, liaoyuke@chromium.org

Bug: 816629
Change-Id: Ia4d20501783f844fdbc1728ee986724c5301d638
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2280322
Reviewed-by: Takuto Ikuta <tikuta@chromium.org>
Reviewed-by: Dirk Pranke <dpranke@google.com>
Commit-Queue: Dirk Pranke <dpranke@google.com>
Cr-Commit-Position: refs/heads/master@{#788424}
2020-07-15 00:54:06 +00:00
Stephen McGruer
a12b34f8c2 Update WPT documentation and add note on wpt_internal
Bug: 852053
Change-Id: I9b3d78fe60361fe1156eb02b396c401584ff15ba
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2289399
Commit-Queue: Stephen McGruer <smcgruer@chromium.org>
Reviewed-by: Luke Z <lpz@chromium.org>
Cr-Commit-Position: refs/heads/master@{#787228}
2020-07-10 16:00:42 +00:00
Stephen McGruer
fe2a9984b8 [WPT Importer] Add documentation for WPT-NOTIFY
Bug: 844671
Change-Id: I27fff20ed7d748a52d1abdf4148df9c448ac7348
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2280224
Reviewed-by: Philip Jägenstedt <foolip@chromium.org>
Commit-Queue: Stephen McGruer <smcgruer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#785022}
2020-07-03 10:45:21 +00:00
Dirk Pranke
e034e1ef53 Move the Chromium Test Executable API spec into markdown.
This CL moves the bit.ly/chromium-test-runner-api spec from
https://docs.google.com/document/d/1i9kC7xrq0Slfcx8nTjoKT1TQ4_sm3Vx2XpeIVFIidHA/edit
(a Google Docs document) into a (Markdown) file checked into
the repo at //docs/testing/test_executable_api.md.

Change-Id: I1a231afa18bace25e40445673f5b2b997d4427cd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2278179
Commit-Queue: Dirk Pranke <dpranke@google.com>
Reviewed-by: Kenneth Russell <kbr@chromium.org>
Reviewed-by: Erik Staab <estaab@chromium.org>
Cr-Commit-Position: refs/heads/master@{#784948}
2020-07-03 00:48:08 +00:00
Guido Urdaneta
b67982158b Revert "Add a first pass of the desktop test wrapper scripts."
This reverts commit 956c4dcc74.

Reason for revert: Suspect of causing consistent failure on Deterministic Linux bot

First failed run:
https://ci.chromium.org/p/chromium/builders/ci/Deterministic%20Linux%20%28dbg%29/17574

Original change's description:
> Add a first pass of the desktop test wrapper scripts.
> 
> As described in the linked bug and documented in
> https://docs.google.com/document/d/19qpDeR2z-8j-WQJC-5waSd134kz94UXgYU_e_N-VplU/edit?usp=sharing
> we want to change how tests are launched under swarming so that
> they all have a consistent API and usage.
> 
> We need to do at least some of this work now in order to unblock
> work going on in Swarming to change how a task's command line and
> list of files are specified, but doing all of the work in the linked
> doc and bug will significantly restructure how we configure and launch
> tests, and should bring a lot more consistency to our continuous
> integration infrastructure.
> 
> This CL is a first step: a proof of concept that converts
> url_unittests on desktop to the new API in a backwards-compatible
> way (i.e., this will work with the existing chromium recipes).
> 
> R=​tikuta@chromium.org, martiniss@chromium.org, bpastene@chromium.org, estaab@chromium.org, kbr@chromium.org
> 
> Bug: 816629
> Change-Id: I4aaaed9853e451536f21a752d896cf7bef5fff18
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2249173
> Commit-Queue: Dirk Pranke <dpranke@google.com>
> Reviewed-by: Nodir Turakulov <nodir@chromium.org>
> Reviewed-by: Takuto Ikuta <tikuta@chromium.org>
> Reviewed-by: Stephen Martinis <martiniss@chromium.org>
> Reviewed-by: Brian Sheedy <bsheedy@chromium.org>
> Reviewed-by: Erik Staab <estaab@chromium.org>
> Reviewed-by: Yuly Novikov <ynovikov@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#784653}

TBR=thakis@chromium.org,ynovikov@chromium.org,dpranke@google.com,kbr@chromium.org,nodir@chromium.org,estaab@chromium.org,martiniss@chromium.org,tikuta@chromium.org,bsheedy@chromium.org,bpastene@chromium.org

Change-Id: Ic2277fd08f14119b500917f532f37a2fa46fa3b5
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 816629
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2275456
Reviewed-by: Guido Urdaneta <guidou@chromium.org>
Commit-Queue: Guido Urdaneta <guidou@chromium.org>
Cr-Commit-Position: refs/heads/master@{#784739}
2020-07-02 08:44:30 +00:00
Dirk Pranke
956c4dcc74 Add a first pass of the desktop test wrapper scripts.
As described in the linked bug and documented in
https://docs.google.com/document/d/19qpDeR2z-8j-WQJC-5waSd134kz94UXgYU_e_N-VplU/edit?usp=sharing
we want to change how tests are launched under swarming so that
they all have a consistent API and usage.

We need to do at least some of this work now in order to unblock
work going on in Swarming to change how a task's command line and
list of files are specified, but doing all of the work in the linked
doc and bug will significantly restructure how we configure and launch
tests, and should bring a lot more consistency to our continuous
integration infrastructure.

This CL is a first step: a proof of concept that converts
url_unittests on desktop to the new API in a backwards-compatible
way (i.e., this will work with the existing chromium recipes).

R=tikuta@chromium.org, martiniss@chromium.org, bpastene@chromium.org, estaab@chromium.org, kbr@chromium.org

Bug: 816629
Change-Id: I4aaaed9853e451536f21a752d896cf7bef5fff18
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2249173
Commit-Queue: Dirk Pranke <dpranke@google.com>
Reviewed-by: Nodir Turakulov <nodir@chromium.org>
Reviewed-by: Takuto Ikuta <tikuta@chromium.org>
Reviewed-by: Stephen Martinis <martiniss@chromium.org>
Reviewed-by: Brian Sheedy <bsheedy@chromium.org>
Reviewed-by: Erik Staab <estaab@chromium.org>
Reviewed-by: Yuly Novikov <ynovikov@chromium.org>
Cr-Commit-Position: refs/heads/master@{#784653}
2020-07-02 00:54:27 +00:00
Andrew Walbran
ca9cad9467 [docs] Fix path to run JUnit tests.
Change-Id: I1d42c3746af3cc76448f3d8b89a39f76dae527ac
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2247881
Reviewed-by: Andrew Grieve <agrieve@chromium.org>
Commit-Queue: Andrew Walbran <qwandor@google.com>
Cr-Commit-Position: refs/heads/master@{#780626}
2020-06-21 14:18:50 +00:00
Robert Ma
7ed1679f1b [docs] Fix instructions for run_web_tests.py
Clarify that you should invoke the script (or the .bat file on Windows)
directly instead of calling it using `python`.

Bug: 1095643
Change-Id: Ie8d5079bf4618f8d2b7f162d879f50da49c0260c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2248120
Reviewed-by: Stephen McGruer <smcgruer@chromium.org>
Commit-Queue: Robert Ma <robertma@chromium.org>
Auto-Submit: Robert Ma <robertma@chromium.org>
Cr-Commit-Position: refs/heads/master@{#778852}
2020-06-16 16:38:52 +00:00
Johann
5aa23b58db run_blink_wptserve.py: update docs
Contrary to crrev.com/c/2217275 it is possible to specify the directory
which the script uses to serve generated content.

Point users towards --enable-blink-features which is required for some
tests.

Change-Id: I4b9cb454dce3fabdc62c778c810342047f18b539
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2241199
Auto-Submit: Johann Koenig <johannkoenig@google.com>
Commit-Queue: Quinten Yearsley <qyearsley@chromium.org>
Reviewed-by: Quinten Yearsley <qyearsley@chromium.org>
Cr-Commit-Position: refs/heads/master@{#777844}
2020-06-12 17:00:52 +00:00
Xianzhu Wang
525fcbc3a1 Mention --flag-specific in the section of flag-specific rebaseline
TBR=pdr@chromium.org

Change-Id: I2f0bb218a194a0c84779c280db753387d62a6698
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2231097
Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org>
Reviewed-by: Philip Rogers <pdr@chromium.org>
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#775319}
2020-06-04 22:49:46 +00:00
Tim van der Lippe
ae60643b6b Remove usages of debug_devtools in chrome/BUILD.gn
The flag is being removed. Before we can remove the usages in
devtools-frontend itself, we first have to remove the references to them
in Chromium.

R=yangguo@chromium.org

Bug: 1087379
Change-Id: I09650358aba4bc2ec30fe91fe49e7e287d4b205b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2224216
Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org>
Reviewed-by: Yang Guo <yangguo@chromium.org>
Reviewed-by: Jochen Eisinger <jochen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#774636}
2020-06-03 15:30:25 +00:00
Johann
a06b671a53 wptserve: document hardcoded gen dir
run_blink_wptserve.py has no way of knowing which gen/ directory
to serve files from. Document this fact.

R=qyearsley@chromium.org

Change-Id: Ia5caef49b7333e695665ca921790c4dedb30ac22
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2217275
Commit-Queue: Johann Koenig <johannkoenig@google.com>
Reviewed-by: Kouhei Ueno <kouhei@chromium.org>
Reviewed-by: Quinten Yearsley <qyearsley@chromium.org>
Cr-Commit-Position: refs/heads/master@{#774058}
2020-06-02 08:51:35 +00:00
behdad
02325939eb Updated rep perf test documentation
Updates:
- Guides added for adding experimental attribute to a story and when to
do so.
- How to run perf tests locally is added to the document

Bug: none
Change-Id: Ie2c3f34906d185cd3992e4a614c49f43e4c3ad4f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2210632
Reviewed-by: Sadrul Chowdhury <sadrul@chromium.org>
Commit-Queue: Behdad Bakhshinategh <behdadb@chromium.org>
Cr-Commit-Position: refs/heads/master@{#771156}
2020-05-21 19:52:18 +00:00
Xianzhu Wang
a617a141f0 Let virtual tests also inherit [ Skip ] if no override
This followups crrev.com/c/2173656 which let virtual tests inherit
base tests' expectations except for [ Skip ]. This CL also allows
inheritance of [ Skip ].

In less common cases, we intentionally skip some base tests which is
only meaningful to run with specific flags in virtual tests. In these
cases we need to override the [ Skip ] with [ Pass ], like:

(In NeverFixTests)
# This test run under virtual suites only.
crbug.com/981970 external/wpt/fetch/http-cache/split-cache.tentative.html [ Skip ]
virtual/not-split-http-cache/external/wpt/fetch/http-cache/split-cache.tentative.html [ Pass ]
virtual/split-http-cache/external/wpt/fetch/http-cache/split-cache.tentative.html [ Pass ]

Bug: 1072015
Change-Id: Ie6c5b5472203bd81120dd2c3589a89d9df6fa45b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2178173
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Reviewed-by: Rakib Hasan <rmhasan@google.com>
Reviewed-by: Robert Ma <robertma@chromium.org>
Reviewed-by: Philip Rogers <pdr@chromium.org>
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Cr-Commit-Position: refs/heads/master@{#766598}
2020-05-07 21:57:47 +00:00
Xianzhu Wang
72fb2021fa Fallback mechanism for virtual and flag-specific web tests expectations
This can avoid duplicated entries for virtual tests. This allows
a virtual test without specific expectations inherit the base test
expectations. If a virtual test has specific expectations, they will
override the base test expectations, except that [ Slow ] will be
merged.

This requires flag-specific expectations to use the same override rule.
Previously they always inherit the base test expectations, causing us
unable to override the expectations to e.g. [ Pass ].

Requires https://chromium-review.googlesource.com/c/catapult/+/2173206.

Bug: 1072015
Change-Id: Ie3d1911a96f70799a996b6abbd78f9a5107d7eff
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2173656
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Reviewed-by: Rakib Hasan <rmhasan@google.com>
Reviewed-by: Robert Ma <robertma@chromium.org>
Cr-Commit-Position: refs/heads/master@{#765359}
2020-05-05 03:39:13 +00:00
Ben Pastene
48021b47b3 docs: Revise Tast test disabling options.
This should hopefully make it clear to sheriffs that either option is
valid.

Change-Id: Ida41d139dfdb09be3067228d6a05cb3b46806562
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2159605
Reviewed-by: Stephen Martinis <martiniss@chromium.org>
Commit-Queue: Ben Pastene <bpastene@chromium.org>
Cr-Commit-Position: refs/heads/master@{#761076}
2020-04-21 19:18:46 +00:00
Robert Ma
f3089be6ce [docs] Fix the path to content/shell
Change-Id: Idb7edeeb717e11779501e58865ef716295cab04a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2131208
Commit-Queue: Robert Ma <robertma@chromium.org>
Commit-Queue: Stephen McGruer <smcgruer@chromium.org>
Auto-Submit: Robert Ma <robertma@chromium.org>
Reviewed-by: Stephen McGruer <smcgruer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#755152}
2020-03-31 23:01:25 +00:00
Bryce Thomas
c9137cf998 Fix code_coverage.md docs to specify is_debug=false GN arg.
One instance of this was already fixed in
https://chromium-review.googlesource.com/c/chromium/src/+/1874486.  This
CL simply covers the other.

Bug: NONE
Change-Id: Ic0dc4ce2fdc1ca0daa414b50d2f9cf5a59f676ff
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2130667
Reviewed-by: Yuke Liao <liaoyuke@chromium.org>
Reviewed-by: Sajjad Mirza <sajjadm@chromium.org>
Commit-Queue: Sajjad Mirza <sajjadm@chromium.org>
Cr-Commit-Position: refs/heads/master@{#755064}
2020-03-31 19:47:17 +00:00
Andrew Grieve
17a59653c6 Reland : Make java_deobfuscate not require being built first
This reverts commit 036098e4d0.

Reason for revert: No changes to this commit.
Fixed by: 02aeb6b215

Original change's description:
> Revert "Reland "Make java_deobfuscate not require being built first""
> 
> This reverts commit d80699f215.
> 
> Reason for revert: Broke swarming again:
> https://ci.chromium.org/p/chromium/builders/ci/android-lollipop-arm-rel/783
> 
> Original change's description:
> > Reland "Make java_deobfuscate not require being built first"
> > 
> > This reverts commit 0b8c0e6a09.
> > 
> > Reason for revert: Fixed runtime deps
> > 
> > Original change's description:
> > > Revert "Make java_deobfuscate not require being built first"
> > >
> > > This reverts commit 962e70305e.
> > >
> > > Reason for revert: Failing on swarming
> > > https://ci.chromium.org/p/chromium/builders/ci/android-pie-x86-fyi-rel/747
> > >
> > > Original change's description:
> > > > Make java_deobfuscate not require being built first
> > > >
> > > > Makes the tool easier to use, and easier to document how to use by not
> > > > requiring it to be built first. We have only a single non-prebuilt .java
> > > > file, so it's easy enough to just check in the .class file for it.
> > 
> > Bug: 995290
> > Change-Id: Ib1f396e07d6b0737133f03f1bded1a2d312ebfc8
> > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2106972
> > Commit-Queue: Andrew Grieve <agrieve@chromium.org>
> > Reviewed-by: Sam Maier <smaier@chromium.org>
> > Cr-Commit-Position: refs/heads/master@{#751322}
> 
> TBR=agrieve@chromium.org,smaier@chromium.org
> 
> Change-Id: I7510d193931940176178ad6f68122f634ed59e93
> No-Presubmit: true
> No-Tree-Checks: true
> No-Try: true
> Bug: 995290
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2108612
> Reviewed-by: Andrew Grieve <agrieve@chromium.org>
> Commit-Queue: Andrew Grieve <agrieve@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#751394}

TBR=agrieve@chromium.org,smaier@chromium.org

Bug: 995290
Change-Id: Ia51d50638d859d27e081ff0689b4c5877a02e8c8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2109817
Commit-Queue: Andrew Grieve <agrieve@chromium.org>
Reviewed-by: Andrew Grieve <agrieve@chromium.org>
Cr-Commit-Position: refs/heads/master@{#751713}
2020-03-19 18:14:53 +00:00
Andrew Grieve
036098e4d0 Revert "Reland "Make java_deobfuscate not require being built first""
This reverts commit d80699f215.

Reason for revert: Broke swarming again:
https://ci.chromium.org/p/chromium/builders/ci/android-lollipop-arm-rel/783

Original change's description:
> Reland "Make java_deobfuscate not require being built first"
> 
> This reverts commit 0b8c0e6a09.
> 
> Reason for revert: Fixed runtime deps
> 
> Original change's description:
> > Revert "Make java_deobfuscate not require being built first"
> >
> > This reverts commit 962e70305e.
> >
> > Reason for revert: Failing on swarming
> > https://ci.chromium.org/p/chromium/builders/ci/android-pie-x86-fyi-rel/747
> >
> > Original change's description:
> > > Make java_deobfuscate not require being built first
> > >
> > > Makes the tool easier to use, and easier to document how to use by not
> > > requiring it to be built first. We have only a single non-prebuilt .java
> > > file, so it's easy enough to just check in the .class file for it.
> 
> Bug: 995290
> Change-Id: Ib1f396e07d6b0737133f03f1bded1a2d312ebfc8
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2106972
> Commit-Queue: Andrew Grieve <agrieve@chromium.org>
> Reviewed-by: Sam Maier <smaier@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#751322}

TBR=agrieve@chromium.org,smaier@chromium.org

Change-Id: I7510d193931940176178ad6f68122f634ed59e93
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 995290
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2108612
Reviewed-by: Andrew Grieve <agrieve@chromium.org>
Commit-Queue: Andrew Grieve <agrieve@chromium.org>
Cr-Commit-Position: refs/heads/master@{#751394}
2020-03-18 17:50:03 +00:00
Andrew Grieve
d80699f215 Reland "Make java_deobfuscate not require being built first"
This reverts commit 0b8c0e6a09.

Reason for revert: Fixed runtime deps

Original change's description:
> Revert "Make java_deobfuscate not require being built first"
>
> This reverts commit 962e70305e.
>
> Reason for revert: Failing on swarming
> https://ci.chromium.org/p/chromium/builders/ci/android-pie-x86-fyi-rel/747
>
> Original change's description:
> > Make java_deobfuscate not require being built first
> >
> > Makes the tool easier to use, and easier to document how to use by not
> > requiring it to be built first. We have only a single non-prebuilt .java
> > file, so it's easy enough to just check in the .class file for it.

Bug: 995290
Change-Id: Ib1f396e07d6b0737133f03f1bded1a2d312ebfc8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2106972
Commit-Queue: Andrew Grieve <agrieve@chromium.org>
Reviewed-by: Sam Maier <smaier@chromium.org>
Cr-Commit-Position: refs/heads/master@{#751322}
2020-03-18 14:14:30 +00:00
Andrew Grieve
0b8c0e6a09 Revert "Make java_deobfuscate not require being built first"
This reverts commit 962e70305e.

Reason for revert: Failing on swarming
https://ci.chromium.org/p/chromium/builders/ci/android-pie-x86-fyi-rel/747

Original change's description:
> Make java_deobfuscate not require being built first
> 
> Makes the tool easier to use, and easier to document how to use by not
> requiring it to be built first. We have only a single non-prebuilt .java
> file, so it's easy enough to just check in the .class file for it.
> 
> Bug: 995290
> Change-Id: I7b934b3337eccb044a470dd92270ce7338b1fd20
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2106257
> Commit-Queue: Andrew Grieve <agrieve@chromium.org>
> Reviewed-by: Sam Maier <smaier@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#750855}

TBR=agrieve@chromium.org,smaier@chromium.org

Change-Id: Ic279958503760f08a5a4885391705a89db8f982f
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 995290
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2107680
Reviewed-by: Andrew Grieve <agrieve@chromium.org>
Commit-Queue: Andrew Grieve <agrieve@chromium.org>
Cr-Commit-Position: refs/heads/master@{#751026}
2020-03-17 17:46:07 +00:00
Andrew Grieve
962e70305e Make java_deobfuscate not require being built first
Makes the tool easier to use, and easier to document how to use by not
requiring it to be built first. We have only a single non-prebuilt .java
file, so it's easy enough to just check in the .class file for it.

Bug: 995290
Change-Id: I7b934b3337eccb044a470dd92270ce7338b1fd20
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2106257
Commit-Queue: Andrew Grieve <agrieve@chromium.org>
Reviewed-by: Sam Maier <smaier@chromium.org>
Cr-Commit-Position: refs/heads/master@{#750855}
2020-03-17 04:04:03 +00:00
Peter Kasting
c6fd7f2db7 Convert MaterialDesignController to a true singleton.
This involves
* Moving non-MD-related code out of Initialize into LinearAnimation
* Moving other Initialize() code into the constructor
* Removing all Initialize() calls
* Replacing other static methods with instance methods
* Adding GetInstance() calls to callers to get the instance
* Converting the TestAPI class to a scoping object
* Other assorted #include removal etc. in the process

Bug: 940773
Change-Id: Ieb8d44eabae63b014a90ff452010eb4c067e5e90
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2090877
Commit-Queue: Peter Kasting <pkasting@chromium.org>
Reviewed-by: Scott Violet <sky@chromium.org>
Cr-Commit-Position: refs/heads/master@{#748895}
2020-03-10 21:21:08 +00:00
behdad
ed363bfe4b Add guides on investigating the rep perf failures
The guides for investigating the representative perf tests are added:
- Common failures listed
- accessing the traces and benchmark logs are documented

Bug: none
Change-Id: Ic087fb97ee362e04d839414f1396165f111b9934
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2087220
Commit-Queue: Behdad Bakhshinategh <behdadb@chromium.org>
Reviewed-by: Sadrul Chowdhury <sadrul@chromium.org>
Cr-Commit-Position: refs/heads/master@{#747732}
2020-03-06 16:33:32 +00:00
Anastasiia Nikolaienko
f95b35f63e Update saml_password_attributes_test.unitjs path
The file was moved to chrome/browser/resources/gaia_auth_host/
saml_password_attributes_test.unitjs

Change-Id: Ie4763473632202a383a058ed9858a364d779cfac
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2073765
Reviewed-by: Roman Sorokin [CET] <rsorokin@chromium.org>
Commit-Queue: Anastasiia Nikolaienko <anastasiian@chromium.org>
Cr-Commit-Position: refs/heads/master@{#744623}
2020-02-26 12:39:22 +00:00
behdad
05fd6c6ed3 Updated documentation for representative perf tests
Added more instructions on skipping representative perf tests stories.

Bug: chromium:1044705
Change-Id: Ic17b8ccbf345f4be207e0aa25c9a4fdfb0b1350c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2035855
Commit-Queue: Behdad Bakhshinategh <behdadb@chromium.org>
Reviewed-by: Kenneth Russell <kbr@chromium.org>
Reviewed-by: Sadrul Chowdhury <sadrul@chromium.org>
Cr-Commit-Position: refs/heads/master@{#741213}
2020-02-13 21:51:09 +00:00
Xianzhu Wang
c5e2eaf13f Update docs/testing/web_test_expectations.md
- Remove an extra heading under "Rebaselining using try jobs" >
  "Options".
- Add doc for '--patchset=n'.
- Add link to local manual rebaselining.

TBR=robertma@chromium.org

Change-Id: I54d1daf6754707009c08cbc53791a70262bca206
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2005408
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Reviewed-by: Robert Ma <robertma@chromium.org>
Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#732573}
2020-01-16 22:13:09 +00:00
Joshua Peraza
00e6c56324 Reland "linux: Enable Crashpad for content shell"
This is a reland of 9747ecdd3e

Original change's description:
> linux: Enable Crashpad for content shell
> 
> Bug: 942279
> Change-Id: I221431e352f11b40c3bc39bbcd8297b431dd8f0c
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1763346
> Commit-Queue: Joshua Peraza <jperaza@chromium.org>
> Reviewed-by: Peter Beverloo <peter@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#699880}

Bug: 942279
Change-Id: I7ced7adacbbe585f5ea47d00163b69953912b99d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1847882
Reviewed-by: Jochen Eisinger <jochen@chromium.org>
Commit-Queue: Joshua Peraza <jperaza@chromium.org>
Cr-Commit-Position: refs/heads/master@{#729810}
2020-01-09 18:19:37 +00:00
Matt Falkenhagen
cef0974514 documentation: Improve web_tests README files.
Incorporate information into the main documentation and link to them.

Change-Id: I16432d5454ab39a52fe5212cf38239717e4f132c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1983691
Reviewed-by: Kent Tamura <tkent@chromium.org>
Commit-Queue: Matt Falkenhagen <falken@chromium.org>
Cr-Commit-Position: refs/heads/master@{#728455}
2020-01-06 05:43:38 +00:00
Tom Anderson
93e49e49ba Update relative links to Linux docs
This is a followup to [1].

[1] https://chromium-review.googlesource.com/c/chromium/src/+/1974901

TBR=sky

Change-Id: I442ffe121378607bdc5e1b16c081b8d66b138955
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1980900
Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
Commit-Queue: Thomas Anderson <thomasanderson@chromium.org>
Cr-Commit-Position: refs/heads/master@{#727226}
2019-12-23 19:55:37 +00:00
Tom Anderson
9f5be07962 Move Linux documents to a subdir
There were 32 linux documents in docs. It's getting out of hand, so lets
move them to a subdirectory.

R=sky,jorgelo
CC=thestig
BUG=None

Change-Id: Ib7de415c72fe6ec3c51dc2b28f06b34487b5b6d1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1974901
Commit-Queue: Thomas Anderson <thomasanderson@chromium.org>
Reviewed-by: Scott Violet <sky@chromium.org>
Reviewed-by: Jorge Lucangeli Obes <jorgelo@chromium.org>
Cr-Commit-Position: refs/heads/master@{#726499}
2019-12-19 20:54:32 +00:00
Philip Jägenstedt
f0cb86d77c Update documentation for how to disable WPT auto-import
The previously linked CL no longer applies, and can't be landed
directly or cherry-picked.

Bug: 1032951
Change-Id: Ib325c2c1f84fd17813421d32f1aa4174e496e973
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1960349
Reviewed-by: Stephen McGruer <smcgruer@chromium.org>
Reviewed-by: Robert Ma <robertma@chromium.org>
Commit-Queue: Robert Ma <robertma@chromium.org>
Cr-Commit-Position: refs/heads/master@{#723940}
2019-12-11 20:12:52 +00:00
behdad
cf8139e23c Added docs for representative perf tests
. README added for representative perf tests.
. Update pixel-wrangling instructions to include looking at
  repr_perf_test results.
. Linked the pixel-wrangling doc to the representative perf test's for
  more detail.

Bug: chromium:1000837
Change-Id: Iefe03f7c722ccc9c8d72cf3e5ada7816e240d1cc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1937848
Reviewed-by: Sadrul Chowdhury <sadrul@chromium.org>
Reviewed-by: Yuly Novikov <ynovikov@chromium.org>
Commit-Queue: Behdad Bakhshinategh <behdadb@chromium.org>
Cr-Commit-Position: refs/heads/master@{#720547}
2019-12-02 17:55:46 +00:00
Ryan Sleevi
e059091a72 Add a link to the Android emulator instructions for how to run.
Device Setup > Emulators is largely a pointer to
//docs/android_emulator.md, which has more setup instructions.
However, it also references the instructions for how to run,
but those don't appear until later in the document, and thus
is unclear when read in order. Add a link to the later
section, to make it clearer that it's discussed later in the
document.

Bug: none
Change-Id: I2b3fee4d973ab500bba942a016bcb52a299aab19
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1930140
Reviewed-by: danakj <danakj@chromium.org>
Commit-Queue: danakj <danakj@chromium.org>
Cr-Commit-Position: refs/heads/master@{#718231}
2019-11-22 19:23:51 +00:00
Yuke Liao
6e57a8a437 [code coverage] Update per-cl coverage documentation
To clarify that ChromeOS is now supported.

Change-Id: I2ef92ac00baad6407cedd39b8ba173f1c7a47845
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1910767
Reviewed-by: Sajjad Mirza <sajjadm@chromium.org>
Reviewed-by: Nodir Turakulov <nodir@chromium.org>
Commit-Queue: Yuke Liao <liaoyuke@chromium.org>
Cr-Commit-Position: refs/heads/master@{#714680}
2019-11-12 22:23:49 +00:00
Xianzhu Wang
15355b2104 web_tests/FlagSpecificConfig
It specifies the name of the flag-specific expectation file
under web_tests/FlagExpectations and the baseline directory under
web_tests/flag-specific, in the following format:

  {
    "name": "short-name",
    "args": ["--arg1", "--arg2"]
  }

When at least --additional-driver-flag=--arg1 and
--additional-driver-flag=--arg2 are in run_web_tests.py command line,
or --flag-specific=short-name is in the command line,
we will find web_tests/FlagExpectations/short-name for the additional
expectation file and web_tests/flag-specific/short-name for the
additional baseline directory.

Bug: 1019501
Change-Id: Idf0621abc89efc18cd17f9a9612074aa9d7de298
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1894069
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Reviewed-by: Steve Kobes <skobes@chromium.org>
Cr-Commit-Position: refs/heads/master@{#712013}
2019-11-02 23:20:02 +00:00
Yang Guo
708d74b1d7 Use path to new location of devtools frontend
Bug: 1011259
Change-Id: I97cb5b2956e2f847a534356ab66bc5b02cac27e3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1881552
Auto-Submit: Yang Guo <yangguo@chromium.org>
Commit-Queue: Mike West <mkwst@chromium.org>
Reviewed-by: Mike West <mkwst@chromium.org>
Cr-Commit-Position: refs/heads/master@{#711166}
2019-10-31 08:06:08 +00:00
Xianzhu Wang
5d682c8cd8 Better support of real tests under virtual test suite
Now group previous multiple virtual test suites with the same
prefix and args together.

For example, previous configuration
  {
    "prefix": "composite-after-paint",
    "base": "compositing",
    "args": ["--enable-blink-features=CompositeAfterPaint"]
  }
  {
    "prefix": "composite-after-paint",
    "base": "paint",
    "args": ["--enable-blink-features=CompositeAfterPaint"]
  }
now becomes
  {
    "prefix": "composite-after-paint",
    "bases": ["compositing",
              "paint"],
    "args": ["--enable-blink-features=CompositeAfterPaint"]
  }

This shortens VirtualTestSuites by nearly half, avoids accidental
inconsistent args (We should create different virtual test suite
for different args), and allow "pure physical" virtual test suite
which is an alternative of physical test suite.

A "pure physical" virtual test suite has empty "bases", and the
"virtual/<prefix>" test path contains real tests only.

Normal vitual test suites can still contain real tests.

Bug: 1014162
Change-Id: I8d24be0e62b44ec8987aef65cb6f9ff0423b2d2b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1873504
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Reviewed-by: Robert Ma <robertma@chromium.org>
Cr-Commit-Position: refs/heads/master@{#710210}
2019-10-29 05:08:19 +00:00
Yuke Liao
a085b98d20 [code coverage] Update per-cl coverage documentation
This CL updates per-cl coverage documentation with percentages.

Change-Id: Ib39834a06dfb03b48f4f3449223ebfce91c6a52a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1876730
Commit-Queue: Yuke Liao <liaoyuke@chromium.org>
Reviewed-by: Nodir Turakulov <nodir@chromium.org>
Cr-Commit-Position: refs/heads/master@{#709223}
2019-10-24 21:37:11 +00:00
Yuke Liao
8c0868fe61 [code coverage] Fix code coverage documentation
This CL fixes the code coverage documentation:
1. 'is_debug=false' gn arg is required.
2. Sandbox is working now.
3. Remove obsolete links.

Bug: 1012473
Change-Id: I178f42cd6879fbfaf464d344ee272268ee654ea3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1874486
Commit-Queue: Yuke Liao <liaoyuke@chromium.org>
Reviewed-by: Nodir Turakulov <nodir@chromium.org>
Cr-Commit-Position: refs/heads/master@{#708351}
2019-10-22 21:02:33 +00:00
Oystein Eftevaag
0daba3430b Remove the nonperfetto_content_browsertests suite
The non-perfetto support is being removed starting with
https://chromium-review.googlesource.com/c/chromium/src/+/1816735
as Perfetto has been the default and stable for a couple of releases now.

R=dpranke@chromium.org

Bug: 839086
Change-Id: I3fd7b3fbec4af035eb6d0be29fdd4f2653ae493c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1822661
Commit-Queue: oysteine <oysteine@chromium.org>
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Cr-Commit-Position: refs/heads/master@{#700531}
2019-09-27 01:31:59 +00:00
Jonathan Ross
80846d48e8 Revert "linux: Enable Crashpad for content shell"
This reverts commit 9747ecdd3e.

Reason for revert: This is potentially crashing vulkan_blink_web_tests on Intel. 

A failure of one test in the following run, lead to a crash of the entire test suite: https://ci.chromium.org/p/chromium/builders/ci/Linux%20FYI%20SkiaRenderer%20Vulkan%20%28Intel%20HD%20630%29/1639

Original change's description:
> linux: Enable Crashpad for content shell
> 
> Bug: 942279
> Change-Id: I221431e352f11b40c3bc39bbcd8297b431dd8f0c
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1763346
> Commit-Queue: Joshua Peraza <jperaza@chromium.org>
> Reviewed-by: Peter Beverloo <peter@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#699880}

TBR=jperaza@chromium.org

Change-Id: I117aa67f345510a5eb9ae77ec60ea5122ac12b16
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 942279
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1825920
Reviewed-by: Jonathan Ross <jonross@chromium.org>
Commit-Queue: Jonathan Ross <jonross@chromium.org>
Cr-Commit-Position: refs/heads/master@{#699972}
2019-09-25 21:52:43 +00:00