0
Commit Graph

243 Commits

Author SHA1 Message Date
Weizhong Xia
5ab1682641 support platform config for virtual tests
Added platform config to allow devs to specify on which platforms
to run a virtual test suites, in the hope we can reduce the number
of tests on some platforms.

Update the documentation also.

Bug: 1234863
Change-Id: I2470671b5efb774275bca83da72d5ef6b698e0aa
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3530131
Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org>
Commit-Queue: Weizhong Xia <weizhong@google.com>
Cr-Commit-Position: refs/heads/main@{#984521}
2022-03-23 21:02:51 +00:00
Weizhong Xia
c851d2f64e Make it clear WPT tests are recommended over legacy test types.
Change this to bold in the document to make it easier to notice.

Bug: 1090648
Change-Id: I21c2dc5d4540ce353b396b2d80131a4eef0ea46a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3541463
Reviewed-by: Glen Robertson <glenrob@chromium.org>
Commit-Queue: Weizhong Xia <weizhong@google.com>
Cr-Commit-Position: refs/heads/main@{#983852}
2022-03-22 15:56:40 +00:00
Jinsuk Kim
20087d3f85 Android: Master doc to unify test-related information
This CL sets testing/android/docs/README.md as a master document
for Android chrome test-related information, and completes it
with links to various resources in the repo.

Bug: 1303119

Change-Id: I0439472d3224d4450f50ff0ed59ef3516b8ca0cb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3450015
Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Reviewed-by: Andrew Grieve <agrieve@chromium.org>
Commit-Queue: Jinsuk Kim <jinsukkim@chromium.org>
Cr-Commit-Position: refs/heads/main@{#982857}
2022-03-18 20:20:05 +00:00
dpapad
b2e6580b84 WebUI: Remove leftovers of long removed a11y axs_testing.js tests.
Bug: 807458
Change-Id: Iee6a15dde67eff2591276198cda2e0762b402bef
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3489985
Reviewed-by: Kyle Horimoto <khorimoto@chromium.org>
Reviewed-by: Anastasia Helfinstein <anastasi@google.com>
Reviewed-by: Rebekah Potter <rbpotter@chromium.org>
Commit-Queue: Demetrios Papadopoulos <dpapad@chromium.org>
Cr-Commit-Position: refs/heads/main@{#975703}
2022-02-28 09:57:27 +00:00
Takahiro
961b242c1d Add debugging WPT with a debugger section
This CL adds a description for how to debug particular
WPT tests with debuggers in web_tests_in_content_shell.md
and put the link to it from web_platform_tests.md.

Investigating and fixing failures of WPT tests would be
one of the best ways for new contributors to start their
contributions. And using debuggers would be one of the
best ways to understand the inside of Chromium for them.

Adding a clear description for how to debug particular
WPT tests with debuggers in the document would help them
start their contributions.

Change-Id: If08409c1cc2f8e7d6e786e58852129e3cb6950dc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3371519
Reviewed-by: Yoshisato Yanagisawa <yyanagisawa@chromium.org>
Commit-Queue: Yoshisato Yanagisawa <yyanagisawa@chromium.org>
Cr-Commit-Position: refs/heads/main@{#960705}
2022-01-19 00:14:29 +00:00
Eric Willigers
c2e3d88149 Update googletest github links
Replace instances of "master" in github links

Change-Id: Iee373a91056d72803cfdd1684a362d9434a71ff7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3353108
Reviewed-by: Erik Staab <estaab@chromium.org>
Reviewed-by: Eric Willigers <ericwilligers@chromium.org>
Reviewed-by: Nico Weber <thakis@chromium.org>
Commit-Queue: Nico Weber <thakis@chromium.org>
Owners-Override: Nico Weber <thakis@chromium.org>
Cr-Commit-Position: refs/heads/main@{#959901}
2022-01-17 01:59:37 +00:00
Takahiro
719fb34b41 Fix broken markdown in web_platform_tests.md
Change-Id: Ia4bdb6830754a069ef98097d7c3377c94fd8cb45
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3375405
Reviewed-by: Takashi Toyoshima <toyoshim@chromium.org>
Commit-Queue: Takashi Toyoshima <toyoshim@chromium.org>
Cr-Commit-Position: refs/heads/main@{#957456}
2022-01-11 07:50:29 +00:00
Weizhong Xia
91b533621b Rename arg name --time-out-ms for rwt
Change this to --timeout-ms to align with other parameter names,
e.g. --exit-after-n-crashes-or-timeouts, --skip-timeouts,
--initialize-webgpu-adapter-at-startup-timeout-ms.

Bug: 1095123
Change-Id: I039c342249c7392ffdb850eebbbf63a51fe7cd8a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3366217
Reviewed-by: Dirk Pranke <dpranke@google.com>
Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org>
Commit-Queue: Weizhong Xia <weizhong@google.com>
Cr-Commit-Position: refs/heads/main@{#955755}
2022-01-05 17:13:35 +00:00
Takahiro Aoyagi
9651739929 Update web_tests.md and AUTHORS
Update web_tests.md to fix some problems in Test Harness Options section
- Remove --renderer-startup-dialog option description from the table
because run_web_tests.py seems to no longer have
--renderer-startup-dialog option.
- Let the Meaning of --reset-results display correctly. Vertical bar
in the inline code block inside the table isn't displayed correctly. Let
it out from the inline code block and use HTML character code instead.


Update AUTHORS
- Add a new individual contributor Takahiro because this is his first
patch

Change-Id: Ie374a0a77e27fabf1d7b522845fcf0d9407ddd63
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3357156
Reviewed-by: Takashi Toyoshima <toyoshim@chromium.org>
Commit-Queue: Takashi Toyoshima <toyoshim@chromium.org>
Cr-Commit-Position: refs/heads/main@{#955567}
2022-01-05 05:19:44 +00:00
Ben Pastene
9cebf383e3 docs: Add a doc describing ResultDB integration on Chromium bots.
This summarizes the state of how test results are fetched and used on
chromium bots after the work done in crbug.com/1135718.

This doc should also provide pointers/advice for folks introducing a
new test type or test harness to Chromium.

Bug: 1135718
Change-Id: Ia39a3a4101c71bb8591f7875cb812ef56b53a823
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3293843
Reviewed-by: Chan Li <chanli@chromium.org>
Reviewed-by: Erik Staab <estaab@chromium.org>
Commit-Queue: Ben Pastene <bpastene@chromium.org>
Cr-Commit-Position: refs/heads/main@{#955439}
2022-01-04 23:44:45 +00:00
Johann
90127d9ceb wpt docs: use vpython to run tests
This was switched to vpython3 because run_web_tests.py
specifies vpython3.

It turns out the other scripts specify vpython and
while vpython3 almost works, it fails with some other
messages such as (for run_blink_wptserve.py):
ALPN negotiated protocol h3
Connection close sent (code 0x0, reason )
<repeatedly>

Bug: crbug.com/1280472
Change-Id: Id455ea0f2fea860f76a4b0e17de9490634779c40
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3344086
Auto-Submit: Johann Koenig <johannkoenig@google.com>
Reviewed-by: Kent Tamura <tkent@chromium.org>
Commit-Queue: Kent Tamura <tkent@chromium.org>
Cr-Commit-Position: refs/heads/main@{#952206}
2021-12-16 02:07:35 +00:00
Johann
857a78c5b6 wpt docs: use vpython3 to run tests
vpython3 is specified in run_web_tests.py

using python or python3 leads to errors such as:

or

ImportError: No module named requests
ModuleNotFoundError: No module named 'aioquic'
Change-Id: I53660e5222020d9266c0ff3ac088e1ff99ad7e27
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3341132
Auto-Submit: Johann Koenig <johannkoenig@google.com>
Reviewed-by: Kent Tamura <tkent@chromium.org>
Commit-Queue: Kent Tamura <tkent@chromium.org>
Cr-Commit-Position: refs/heads/main@{#951859}
2021-12-15 08:32:21 +00:00
Yoshisato Yanagisawa
638e2ee065 Update web_platform_tests, web_tests, writing_web_tests.
Although web platform tests are different from web tests, the document
does not clearly mentions they are different.  I misunderstood
web test as web platform tests.  I have updated web_tests and
writing_web_tests to clarify they are different.

Also, I have added the way to debug WPTs in writing_web_tests.
This is something like my brain dump of what I have learned and used
recently.  That includes the way to run test one by one, logging,
and the way to see HTTP headers for WPTs.

Change-Id: I1673e15b2c8ec7f8b17665aeb87b16d81de0d62a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3319983
Reviewed-by: Kouhei Ueno <kouhei@chromium.org>
Reviewed-by: Takashi Toyoshima <toyoshim@chromium.org>
Commit-Queue: Yoshisato Yanagisawa <yyanagisawa@chromium.org>
Cr-Commit-Position: refs/heads/main@{#949943}
2021-12-09 05:52:08 +00:00
Xianzhu Wang
b841584fe0 Remove linux_layout_tests_composite_after_paint try bot
We have enabled composite-after-paint for all tests, so no longer need
the bot.

Bug: 471333
Change-Id: I9fdd887f6d814fd718696d0504a8b4dd22632faf
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3307159
Reviewed-by: Erik Staab <estaab@chromium.org>
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Cr-Commit-Position: refs/heads/main@{#946833}
2021-12-01 02:33:55 +00:00
Prakhar
e84bb3b2b4 Update code coverage dashboard link
Change-Id: Ic65469f42fa06a85b66eac9272c0c91de3e86416
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3299742
Auto-Submit: Prakhar Asthana <pasthana@google.com>
Commit-Queue: Yuke Liao <liaoyuke@chromium.org>
Reviewed-by: Yuke Liao <liaoyuke@chromium.org>
Cr-Commit-Position: refs/heads/main@{#945841}
2021-11-29 03:28:44 +00:00
Johann
2e995fd22e remove Android from TestExpectations
Bug: chromium:567947
Change-Id: Iad252f3b08247c10df238981640008376e8dcff0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3278837
Auto-Submit: Johann Koenig <johannkoenig@google.com>
Reviewed-by: Dirk Pranke <dpranke@google.com>
Commit-Queue: Dirk Pranke <dpranke@google.com>
Cr-Commit-Position: refs/heads/main@{#941787}
2021-11-15 19:43:27 +00:00
Johann
e1b8bd503e TestExpectations doc: update platform list
Change-Id: I3c470a5d133d3915da15de96162df8dd5169875b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3277493
Reviewed-by: Stephen McGruer <smcgruer@chromium.org>
Commit-Queue: Johann Koenig <johannkoenig@google.com>
Cr-Commit-Position: refs/heads/main@{#941530}
2021-11-14 21:06:47 +00:00
Yoshisato Yanagisawa
f702d7e65f Add an example command line for the virtual test suites.
For ease of understanding how to execute the virtual test suites,
let me add an example command line.

Change-Id: I5bdf114a776676b3d5c81c0e7d5aaeeb766351b9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3218171
Auto-Submit: Yoshisato Yanagisawa <yyanagisawa@chromium.org>
Commit-Queue: Hiroki Nakagawa <nhiroki@chromium.org>
Reviewed-by: Hiroki Nakagawa <nhiroki@chromium.org>
Cr-Commit-Position: refs/heads/main@{#930371}
2021-10-12 01:47:57 +00:00
Ben Pastene
f8d6812077 docs: Update chromeos_debugging_tips.md for the new Milo UI.
Now that the RDB has rolled out more broadly, we can replace references
to the isolate UI viewer with links to the new UI.

Bug: None
Change-Id: I9f48007dbe10a05ae4de92602f442a08bb6b6d44
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3171763
Reviewed-by: Brian Sheedy <bsheedy@chromium.org>
Commit-Queue: Ben Pastene <bpastene@chromium.org>
Cr-Commit-Position: refs/heads/main@{#923113}
2021-09-20 22:49:10 +00:00
Fangzhen Song
2f09f20452 Docs: Update web_tests.md
On the Mac, use Content Shell.app, not content_shell.

Change-Id: Ic37eb96d5027f6814401ade6aed1e7d7272d3c9c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3168004
Reviewed-by: Christian Biesinger <cbiesinger@chromium.org>
Commit-Queue: Fangzhen Song <songfangzhen@bytedance.com>
Cr-Commit-Position: refs/heads/main@{#922740}
2021-09-17 23:56:43 +00:00
Henrique Nakashima
bd62e8e8b6 [Android] Always split test batches by feature flags
Since this is done in local_device_instrumentation_test_run.py,
only JUnit4 test are split by flags, so there is no drawback for
Robolectric tests.

Bug: 1187705
Change-Id: I5e6859b6f617de440685ffce0c35dc8804ef9c68
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3154905
Reviewed-by: Egor Pasko <pasko@chromium.org>
Reviewed-by: Michael Thiessen <mthiesse@chromium.org>
Commit-Queue: Henrique Nakashima <hnakashima@chromium.org>
Cr-Commit-Position: refs/heads/main@{#921783}
2021-09-15 19:01:21 +00:00
sisidovski
805efc20f7 Filename change to wpt_internal README file
Small documentation fixes for wpt_internal, file name change from README to README.md for readability.

Change-Id: I8043180bd6469c5b6be75f70acb8ca30113471b4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3149809
Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org>
Commit-Queue: Shunya Shishido <sisidovski@google.com>
Cr-Commit-Position: refs/heads/main@{#920430}
2021-09-10 23:40:44 +00:00
Ben Pastene
15cae75ba4 docs: Update usage of generate_breakpad_symbols.py to use vpython.
Plain old python fails with:
ImportError: No module named six.moves.queue

Using vpython should fix that.

Also replace "0" in the output dir with the name of a task that it
would really look like.

Bug: None
Change-Id: I51138442a368edc0e4c88f2f8ab24262a6d233e0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3152067
Reviewed-by: Brian Sheedy <bsheedy@chromium.org>
Commit-Queue: Ben Pastene <bpastene@chromium.org>
Cr-Commit-Position: refs/heads/main@{#919996}
2021-09-09 22:58:22 +00:00
Chris Mumford
bbe6b8e41c Fixed wpt_internal paths in docs.
Bug: none
Change-Id: Ie915816bff7da77fb674576359f495421ef88c89
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3150177
Reviewed-by: Chris Mumford <cmumford@google.com>
Reviewed-by: Matt Reynolds <mattreynolds@chromium.org>
Commit-Queue: Chris Mumford <cmumford@google.com>
Cr-Commit-Position: refs/heads/main@{#919956}
2021-09-09 21:06:18 +00:00
Weizhong Xia
53c49216f2 Reland "Optimize data dependency for blink_web_tests"
This is a reland of 8f26bc7ead

Original change's description:
> Optimize data dependency for blink_web_tests
>
> Some baselines are only useful for certain platforms. Explicitly list
> such dependency so that we don't need download unnecessary baselines to
> swarming bots. Added a presubmit check to ensure we do not miss any
> folders under web_tests.
>
> This should be able to reduce the overhead on the swarming bots. After
> this change, we saved 38524 files or directories on Windows.
> This is 20.8% of the web_tests folder.
>
> Bug: 1230939
> Change-Id: I805f03f9f002a05b0fb1456271aa9b383c9bd3c2
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3139556
> Commit-Queue: Weizhong Xia <weizhong@google.com>
> Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org>
> Reviewed-by: Dirk Pranke <dpranke@google.com>
> Cr-Commit-Position: refs/heads/main@{#918838}

Bug: 1230939, 1247545
Change-Id: Ia930728c00bc97f44e790b5beaebae701772bf80
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3149438
Commit-Queue: Weizhong Xia <weizhong@google.com>
Reviewed-by: Dirk Pranke <dpranke@google.com>
Cr-Commit-Position: refs/heads/main@{#919846}
2021-09-09 17:08:24 +00:00
Takuto Ikuta
c75c71a027 Revert "Optimize data dependency for blink_web_tests"
This reverts commit 8f26bc7ead.

Reason for revert: https://ci.chromium.org/ui/p/chromium/builders/try/chromium_presubmit/1376442/overview

Original change's description:
> Optimize data dependency for blink_web_tests
>
> Some baselines are only useful for certain platforms. Explicitly list
> such dependency so that we don't need download unnecessary baselines to
> swarming bots. Added a presubmit check to ensure we do not miss any
> folders under web_tests.
>
> This should be able to reduce the overhead on the swarming bots. After
> this change, we saved 38524 files or directories on Windows.
> This is 20.8% of the web_tests folder.
>
> Bug: 1230939
> Change-Id: I805f03f9f002a05b0fb1456271aa9b383c9bd3c2
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3139556
> Commit-Queue: Weizhong Xia <weizhong@google.com>
> Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org>
> Reviewed-by: Dirk Pranke <dpranke@google.com>
> Cr-Commit-Position: refs/heads/main@{#918838}

Bug: 1230939
Change-Id: Ice2c5d057c1bb325b9f14d8e1b5224be00955ec2
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3147151
Auto-Submit: Takuto Ikuta <tikuta@chromium.org>
Commit-Queue: Jiewei Qian  <qjw@chromium.org>
Reviewed-by: Jiewei Qian  <qjw@chromium.org>
Owners-Override: Jiewei Qian  <qjw@chromium.org>
Cr-Commit-Position: refs/heads/main@{#919121}
2021-09-08 06:20:03 +00:00
Weizhong Xia
8f26bc7ead Optimize data dependency for blink_web_tests
Some baselines are only useful for certain platforms. Explicitly list
such dependency so that we don't need download unnecessary baselines to
swarming bots. Added a presubmit check to ensure we do not miss any
folders under web_tests.

This should be able to reduce the overhead on the swarming bots. After
this change, we saved 38524 files or directories on Windows.
This is 20.8% of the web_tests folder.

Bug: 1230939
Change-Id: I805f03f9f002a05b0fb1456271aa9b383c9bd3c2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3139556
Commit-Queue: Weizhong Xia <weizhong@google.com>
Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org>
Reviewed-by: Dirk Pranke <dpranke@google.com>
Cr-Commit-Position: refs/heads/main@{#918838}
2021-09-07 17:41:05 +00:00
Dirk Pranke
341ad9c050 Clean up a couple things in //docs/testing/web_tests.md.
There was a stray (really old!) reference to `xcodebuild` instead
of //out for build directories, and I changed a couple places from
talking about //out/Debug or //out/Release to //out/Default just
to be more consistent with how we talk about build directory names
elsewhere.

Change-Id: I5410c5abc7a57bb4c71d42839a3efc142ab152c4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3138433
Reviewed-by: Christian Biesinger <cbiesinger@chromium.org>
Commit-Queue: Dirk Pranke <dpranke@google.com>
Cr-Commit-Position: refs/heads/main@{#917368}
2021-09-01 20:42:57 +00:00
Weizhong Xia
832f3c009a support rebaseline disable-layout-ng and composite-after-paint
Add two flag specific builders to builders.json, and enable rebaseline
for them

Change-Id: I37fd1d0c05cdda06bb3796ad8bdb1271b462885f
Bug: 1212213
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3112910
Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org>
Commit-Queue: Weizhong Xia <weizhong@google.com>
Cr-Commit-Position: refs/heads/main@{#916309}
2021-08-30 04:10:29 +00:00
Xianzhu Wang
dca4902a5f Small improvements to rebaseline script in results.html
1. Use pushd/popd when switching directories, and popd at the end
   to switch directory to the original directory (instead of in a deep
   subdirectory containing the last rebaselined test).

2. Emit blink_tool.py optmize-baselines to remove redundant baselines.

Change-Id: I03916a41d7c31f306757a55d767dbfb90dc1eebd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3123088
Reviewed-by: Xiaocheng Hu <xiaochengh@chromium.org>
Reviewed-by: Aleks Totic <atotic@chromium.org>
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Cr-Commit-Position: refs/heads/main@{#916101}
2021-08-27 20:50:11 +00:00
Weizhong Xia
d33ab307b9 Revert "Create AllTestsByDirectories.json for blink_web_tests"
This reverts commit 93e16e0560.

Reason for revert: <People have concern on this, revert first>

Original change's description:
> Create AllTestsByDirectories.json for blink_web_tests
>
> So that we can speed up collecting test cases. This json file is
> a dictionary with directory names as the key, and test cases under
> the directory in a list as the value. Both keys and values are
> sorted.
>
> Added a presubmit check to ensure this file is updated when
> there is change to test cases.
>
> Bug: 982208
> Change-Id: Ibacaee4b5159a82806d210ce7ec42a84e5f9c531
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3067372
> Commit-Queue: Weizhong Xia <weizhong@google.com>
> Reviewed-by: Dirk Pranke <dpranke@google.com>
> Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#912423}

Bug: 982208
Change-Id: I0c32c81ab4e520ee10630a8ac70e7989ef066465
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3100379
Commit-Queue: Weizhong Xia <weizhong@google.com>
Reviewed-by: Dirk Pranke <dpranke@google.com>
Cr-Commit-Position: refs/heads/master@{#912665}
2021-08-17 18:45:16 +00:00
Weizhong Xia
93e16e0560 Create AllTestsByDirectories.json for blink_web_tests
So that we can speed up collecting test cases. This json file is
a dictionary with directory names as the key, and test cases under
the directory in a list as the value. Both keys and values are
sorted.

Added a presubmit check to ensure this file is updated when
there is change to test cases.

Bug: 982208
Change-Id: Ibacaee4b5159a82806d210ce7ec42a84e5f9c531
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3067372
Commit-Queue: Weizhong Xia <weizhong@google.com>
Reviewed-by: Dirk Pranke <dpranke@google.com>
Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#912423}
2021-08-17 01:12:54 +00:00
Xianzhu Wang
61d49d5c63 Improve web test documentation
- Combine rebaseline documentation in web_tests.md into
  web_test_expectations.md

- Format and add more details in #Testing-Runtime-Flags in
  web_tests.md, and add a link to it from web_test_expectationd.md.

- Prefer --flag-specific in some cases.

- Add rebaseline script as a rebaseline method.

- Mention the glob syntax of test expectations, and add a link to the
  more complete and up-to-date documentation of the syntax.

Bug: 1234863
Change-Id: Ia8a1dd140db3855fce391974a64ac742c6f8dfc1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3064798
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Reviewed-by: Weizhong Xia <weizhong@google.com>
Cr-Commit-Position: refs/heads/master@{#907385}
2021-07-31 16:44:53 +00:00
Andrew Williams
bbc1a1ee3e Update URLs in docs; replace some uses of 'master'
Bug: 1231155
Change-Id: I0634229c0739c97ac0d7530dd58c33771958149a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3042058
Reviewed-by: Toby Huang <tobyhuang@chromium.org>
Commit-Queue: Andrew Williams <awillia@google.com>
Cr-Commit-Position: refs/heads/master@{#903745}
2021-07-21 01:51:22 +00:00
Roman Sorokin
2339741df4 Fix the references to the ui.ChromeLogin
ui.ChromeLogin and ui.ChromeLoginGAIA were renamed in
http://crrev/c/2981353

Bug: b:187788829, 1227801, 1167243, 1115622
Change-Id: I31359f59ac35347aa75809d461a61ea383eb8512
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3018208
Commit-Queue: Roman Sorokin [CET] <rsorokin@chromium.org>
Commit-Queue: Dominic Battré <battre@chromium.org>
Auto-Submit: Roman Sorokin [CET] <rsorokin@chromium.org>
Reviewed-by: Dominic Battré <battre@chromium.org>
Cr-Commit-Position: refs/heads/master@{#900399}
2021-07-12 10:29:09 +00:00
Greg Guterman
ac02264a7a Make link absolute
Bug: 1218503
Change-Id: I42bd2218cf54a106df17532d617d459c67bec483
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2995222
Reviewed-by: Nodir Turakulov <nodir@chromium.org>
Commit-Queue: Nodir Turakulov <nodir@chromium.org>
Auto-Submit: Gregory Guterman <guterman@google.com>
Cr-Commit-Position: refs/heads/master@{#897097}
2021-06-29 21:07:37 +00:00
Choongwoo Han
567525224f Use -compilation-dir for llvm-cov
https://reviews.llvm.org/D100232

coverage builds now have relative paths to source code from the build
directory, so llvm-cov is failing to find the source code.
`-compilation-dir` is now available to specify the build directory
for the relative paths.

Bug: 1216203, 1204920
Change-Id: I79bfd6461c315fa9dc555c0829854e612685f122
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2950169
Reviewed-by: Yuke Liao <liaoyuke@chromium.org>
Commit-Queue: Yuke Liao <liaoyuke@chromium.org>
Cr-Commit-Position: refs/heads/master@{#891281}
2021-06-10 17:38:34 +00:00
Takuto Ikuta
2d01a49ebf docs: replace python swarming client usage with go client
Removed run_isolated.py usage as there are no alternatives.

Bug: 984869, 1163817
Change-Id: Ieb72ebb2356d982ac5e90fde0799713daf8aa2c3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2936424
Auto-Submit: Takuto Ikuta <tikuta@chromium.org>
Reviewed-by: Brian Sheedy <bsheedy@chromium.org>
Commit-Queue: Takuto Ikuta <tikuta@chromium.org>
Cr-Commit-Position: refs/heads/master@{#889080}
2021-06-04 00:28:58 +00:00
Delan Azabani
b4a421a7a5 Document how to run gtest unit tests
This patch adds some instructions for getting started with gtest unit
tests (and fixes the broken link “Run Web Tests locally”).

I’m a gtest novice, but hopefully I’ve found the right terminology.

Change-Id: I68cba9dac943a95d6593e6f089f5290a5aaa61f1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2868185
Commit-Queue: Delan Azabani <dazabani@igalia.com>
Reviewed-by: Dirk Pranke <dpranke@google.com>
Cr-Commit-Position: refs/heads/master@{#886648}
2021-05-26 08:46:01 +00:00
John Palmer
046f987e02 [COIL] Change chromium code search type links to use main rather than master for docs
See this doc: go/chromium-coil-change for more info
    BUG=1210385

Change-Id: I6cd8548301e360bae8e71384dbd8ef11aa6c985f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2902904
Reviewed-by: My Nguyen <myy@chromium.org>
Commit-Queue: My Nguyen <myy@chromium.org>
Auto-Submit: John Palmer <jopalmer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#885851}
2021-05-24 01:24:56 +00:00
Ben Pastene
4327118d09 docs: Clarify steps needed to disable CrOS Tast tests.
Change-Id: I4f9f259e53468b13f2ece5104752bf321c10f530
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2863259
Reviewed-by: Yuke Liao <liaoyuke@chromium.org>
Commit-Queue: Ben Pastene <bpastene@chromium.org>
Cr-Commit-Position: refs/heads/master@{#878050}
2021-04-30 19:57:07 +00:00
Gabriel Charette
45cbb4a7b4 Fix Windows paths in web tests documentation
Paths can't be copy-pasted if using POSIX style separators.

R=danakj@chromium.org

Change-Id: I223f6d2133f827d43ff40bedb7d4a700805f2cc3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2773922
Auto-Submit: Gabriel Charette <gab@chromium.org>
Commit-Queue: danakj <danakj@chromium.org>
Reviewed-by: danakj <danakj@chromium.org>
Cr-Commit-Position: refs/heads/master@{#864652}
2021-03-19 15:08:12 +00:00
Zequan Wu
6d00cccdc9 [Docs] Get llvm-cov and llvm-profdata by setting "checkout_clang_coverage_tools"
Change-Id: I219aad59ab54de07dc1206cf395a4b0f33821d7f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2761961
Auto-Submit: Zequan Wu <zequanwu@google.com>
Reviewed-by: Nico Weber <thakis@chromium.org>
Commit-Queue: Zequan Wu <zequanwu@google.com>
Cr-Commit-Position: refs/heads/master@{#863006}
2021-03-15 22:40:44 +00:00
Preethi Mohan
dd828884d1 flag specific support in rebaseline-cl.
Added the option --flag-specific=<foo>.
Currently supporting only 'highdpi' for flag-specific.
New experimental highdpi builder is added which gets triggered with this option.
Results from the new builder are fetched and rebaselined under
third_party/blink/web_tests/flag-specific/<foo>/. Other builders are ignored with this option.

Rebaselined the highdpi tests using these changes.

Bug: 1068400

Change-Id: I5638eb225398159caa06963c9ef5f3991b1a7a3b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2545863
Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org>
Reviewed-by: Stephen McGruer <smcgruer@chromium.org>
Commit-Queue: Preethi Mohan <preethim@google.com>
Cr-Commit-Position: refs/heads/master@{#859222}
2021-03-03 02:03:48 +00:00
Stephen McGruer
ba2aa52196 [WPT Import] Document rubber-stamper bot interactions
Bug: 1175765
Change-Id: If7706c935f0ca137eecdc1584f1c8ed0f3064ccd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2724052
Commit-Queue: Stephen McGruer <smcgruer@chromium.org>
Reviewed-by: Luke Z <lpz@chromium.org>
Cr-Commit-Position: refs/heads/master@{#858280}
2021-02-26 21:27:43 +00:00
Ben Joyce
9b52f6ce6a Fix path of doc linked in code_coverag doc.
Doc location has moved.

Bug: None
Change-Id: I523a605f8eda83f6c28f4f7a3db615248054e576
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2716116
Auto-Submit: benjamin joyce <bjoyce@chromium.org>
Reviewed-by: Yuke Liao <liaoyuke@chromium.org>
Commit-Queue: Yuke Liao <liaoyuke@chromium.org>
Cr-Commit-Position: refs/heads/master@{#857416}
2021-02-24 23:22:50 +00:00
Greg Guterman
de78a04e94 Add RTS doc and DEPS hook
The first step to doing RTS is to download the model and executable.
This new gclient arg will also decide whether we run RTS.

Bug: 1175871
Change-Id: I2c99671e68f386978402ad8e0cb9f0b3b4980a84
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2693808
Commit-Queue: Gregory Guterman <guterman@google.com>
Auto-Submit: Gregory Guterman <guterman@google.com>
Reviewed-by: Dirk Pranke <dpranke@google.com>
Reviewed-by: Nodir Turakulov <nodir@chromium.org>
Cr-Commit-Position: refs/heads/master@{#854570}
2021-02-17 01:37:55 +00:00
David Jacobo
3871d74d7f [docs] Fix link to writing Simple gtests
Bug: None
Change-Id: I1f5ad3284cc9c105e82e62e09e686b1d4f130ca5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2698398
Auto-Submit: David Jacobo <djacobo@chromium.org>
Commit-Queue: Yusuke Sato <yusukes@chromium.org>
Reviewed-by: Yusuke Sato <yusukes@chromium.org>
Cr-Commit-Position: refs/heads/master@{#854538}
2021-02-17 00:13:45 +00:00
Arnaud Mandy
f0d227afff docs: Update path to protocol mode.
commit 2389045 (Move content/shell/$process/web_test
 to content/web_test/$process) has updated the
path to test_info_extractor.h

The current patch fixes the link to "protocol mode"

Bug: 1174454
Change-Id: Ib22507db10f75d0e5cdabb53aa13bd38ef52bb53
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2673426
Reviewed-by: Kentaro Hara <haraken@chromium.org>
Commit-Queue: Arnaud Mandy <arnaud.mandy@intel.com>
Cr-Commit-Position: refs/heads/master@{#850567}
2021-02-04 14:00:31 +00:00
Greg Guterman
d055171145 Revert "Proof of concept for test selection via GN"
This reverts commit 8da79b7118.

Reason for revert: We're looking into other methods of test selection because our filtering of source files conflicts with state sharing between test files.

Original change's description:
> Proof of concept for test selection via GN
>
> This CL implements gn based unittest filtering. The files in the rts_exclude_file are manually selected for this example, but will later be populated using the smart logic in rts-chromium.
> These two cases (source_set and test template) cover most of the test files. I haven't seen any other templates with unittests, but even if there are some this would be a great start. This also doesn't cover webtests, but I think there's enough exclusion power here to save a lot of compute.
> This also adds a linux-rts builder to the mb config to prepare the experimental builder.
>
> Bug: 1145216
> Change-Id: I7343249f3df0739e39cfe351e5714d7978059d86
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2551276
> Commit-Queue: Gregory Guterman <guterman@google.com>
> Reviewed-by: Dirk Pranke <dpranke@google.com>
> Reviewed-by: Nodir Turakulov <nodir@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#841248}

TBR=dpranke@google.com,nodir@chromium.org,chromium-scoped@luci-project-accounts.iam.gserviceaccount.com,guterman@google.com

Bug: 1145216
Change-Id: I96ec160c5f2e08e8be7faed7c6126aff3f82c053
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2667128
Reviewed-by: Gregory Guterman <guterman@google.com>
Reviewed-by: Nodir Turakulov <nodir@chromium.org>
Reviewed-by: Dirk Pranke <dpranke@google.com>
Commit-Queue: Gregory Guterman <guterman@google.com>
Cr-Commit-Position: refs/heads/master@{#849942}
2021-02-03 03:46:16 +00:00