0
Commit Graph

76 Commits

Author SHA1 Message Date
Tom Bridgwater
eef401541b Update URL for GN quick start guide.
Change-Id: I8c76cf49161daf8cccaa1cfc32db8fcd930f01da
Reviewed-on: https://chromium-review.googlesource.com/1178692
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Commit-Queue: Dirk Pranke <dpranke@chromium.org>
Cr-Commit-Position: refs/heads/master@{#583909}
2018-08-17 00:54:43 +00:00
Max Moroz
f5b31fcd43 Update build instructions to recommend using autoninja instead of ninja.
Change-Id: I327542d2ec81be8d3d4240a82f7121c27c4994b3
Reviewed-on: https://chromium-review.googlesource.com/1169427
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Commit-Queue: Max Moroz <mmoroz@chromium.org>
Cr-Commit-Position: refs/heads/master@{#582351}
2018-08-10 21:55:48 +00:00
Ned Nguyen
bd8cc342d9 Remove references to NEEDSMANUALREBASELINE in markdown docs and testing/scripts/common.py file
NOTRY=true  # chromedriver_py_tests flake (https://crbug.com/864205)

Bug: 621126
Change-Id: I61d2722044cffc44e5bc93b5ffc7ff9d3ab6d313
Reviewed-on: https://chromium-review.googlesource.com/1142359
Commit-Queue: Ned Nguyen <nednguyen@google.com>
Reviewed-by: Robert Ma <robertma@chromium.org>
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Reviewed-by: John Chen <johnchen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#576513}
2018-07-19 16:04:29 +00:00
Dirk Pranke
b5f530d4fb Update json_test_results_format docs.
This CL adds the `is_regression` per-test field (though it won't
yet be set by anything), and adds a bunch of text clarifying the
differences between failures, unexpected results, and regressions.

It also does some general editorial cleanup, fixing typos and
re-sorting some of the enumerated values.

BUG=822078, 837047

Change-Id: If78f6ef66c01d7c2924bfd98589832fe9299968f
Reviewed-on: https://chromium-review.googlesource.com/1096486
Commit-Queue: Dirk Pranke <dpranke@chromium.org>
Reviewed-by: Robert Ma <robertma@chromium.org>
Reviewed-by: Ned Nguyen <nednguyen@google.com>
Reviewed-by: Chan Li <chanli@chromium.org>
Reviewed-by: Stephen Martinis <martiniss@chromium.org>
Cr-Commit-Position: refs/heads/master@{#566615}
2018-06-12 22:51:32 +00:00
Philip Jägenstedt
3a3d5b82be Update web-platform-tests URLs after repo move
Part of https://bit.ly/wpt-transition.

Most of the changes were done as such:
```
git grep -l w3c/web-platform-tests | xargs sed -i 's#https://github.com/w3c/web-platform-tests#https://github.com/web-platform-tests/wpt#g'
git grep -lF 'web-platform-tests.org' | xargs sed -i 's#http://web-platform-tests.org#https://web-platform-tests.org#g'
```

The http => https changes included here because one such URL got
involved in the first after manual tweaks.

Change-Id: Ied8334b88e4a0936cd995a002bb2a502c04ecfc7
Reviewed-on: https://chromium-review.googlesource.com/1080510
Reviewed-by: Tim Volodine <timvolodine@chromium.org>
Reviewed-by: Robert Ma <robertma@chromium.org>
Reviewed-by: Rick Byers <rbyers@chromium.org>
Commit-Queue: Philip Jägenstedt <foolip@chromium.org>
Cr-Commit-Position: refs/heads/master@{#563242}
2018-05-31 15:25:35 +00:00
Kent Tamura
cd3ebc4c69 content_shell: add --run-web-tests to replace --run-layout-test.
Rename switches::IsRunLayoutTestSwitchPresent to
IsRunWebTestsSwitchPresent.

Note that we decided to rename LayoutTests to web_tests.
https://groups.google.com/a/chromium.org/forum/#!msg/blink-dev/KKNbuzj-3HY/H8FWgtKrBgAJ

NOPRESUBMIT due to crbug.com/841656.

NOPRESUBMIT=true

Bug: 843412
Change-Id: I03db1e3a427265b926d8d0811b4cea7d34cd8a70
Reviewed-on: https://chromium-review.googlesource.com/1053328
Commit-Queue: Kent Tamura <tkent@chromium.org>
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Reviewed-by: Nico Weber <thakis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#558998}
2018-05-16 06:44:22 +00:00
Jeff Carpenter
489d402f43 Warn when unsupported wildcards are used in virtual web tests
Bug: 322720
Change-Id: I04c722cf1443bf09734a1851a4679eafacff22a3
Reviewed-on: https://chromium-review.googlesource.com/1058319
Reviewed-by: Quinten Yearsley <qyearsley@chromium.org>
Commit-Queue: Jeff Carpenter <jeffcarp@chromium.org>
Cr-Commit-Position: refs/heads/master@{#558548}
2018-05-15 00:23:00 +00:00
Xianzhu Wang
af4fa41532 [CI] Remove "window." prefix in layout tests for test_shell injected global names
This doesn't include those in 'if' statements.

Bug: 703768
TBR: already agreed in blink-dev; too many files.
Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_layout_ng
Change-Id: I499b91695e177d2a498d96cf20537ee146e22d06
Reviewed-on: https://chromium-review.googlesource.com/1057947
Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#558467}
2018-05-14 21:26:52 +00:00
Euisang Lim
e2f2e78914 Fix some dead links in docs/testing
1. Change breakpad path to third_party/breakpad
- docs/testing/using_breakpad_with_content_shell.md
moved in https://chromium-review.googlesource.com/681838

2. Change componetns/test_runner to content/shell_test_runner
- docs/testing/writing_layout_tests.md
moved in https://codereview.chromium.org/2707183003

3. Fix testharness api link
- docs/testing/layout_tests_tips.md
https://github.com/w3c/testharness.js is moved under
https://github.com/w3c/web-platform-tests

Bug: N/A
Change-Id: I3c1024da6bc3ae9a785cb597e3b76dbd910b2593
Reviewed-on: https://chromium-review.googlesource.com/1049767
Reviewed-by: John Abd-El-Malek <jam@chromium.org>
Commit-Queue: Daniel Cheng <dcheng@chromium.org>
Cr-Commit-Position: refs/heads/master@{#557098}
2018-05-09 05:04:06 +00:00
Kent Tamura
5e69e91171 Update references to "Tools/Scripts"
All code in third_party/WebKit/Tools/Scripts was moved to
third_party/blink/tools.
This CL also fixes references to old names of scripts in Tools/Scripts.

* third_party/WebKit/PRESUBMIT.py:
 Remove dead code. This PRESUBMIT.py doesn't use
 |audit_non_blink_usage|.

Bug: 829697
Change-Id: I6c482a795708fa207124cb2030a4fdaa8ceac343
Reviewed-on: https://chromium-review.googlesource.com/1038863
Reviewed-by: Nico Weber <thakis@chromium.org>
Commit-Queue: Kent Tamura <tkent@chromium.org>
Cr-Commit-Position: refs/heads/master@{#555366}
2018-05-02 13:05:00 +00:00
Kent Tamura
0101944bcb Update references to "webkitpy".
It was moved to third_party/blink/tools, and renamed to "blinkpy".

TBR=timvolodine@chromium.org

Bug: 829697
Change-Id: Ie220adc5ce14025112e360657c3954027ae46ebe
Reviewed-on: https://chromium-review.googlesource.com/1032350
Reviewed-by: Tim Volodine <timvolodine@chromium.org>
Reviewed-by: Kent Tamura <tkent@chromium.org>
Reviewed-by: Bruce Dawson <brucedawson@chromium.org>
Reviewed-by: Quinten Yearsley <qyearsley@chromium.org>
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Commit-Queue: Kent Tamura <tkent@chromium.org>
Cr-Commit-Position: refs/heads/master@{#555195}
2018-05-01 22:06:58 +00:00
Kent Tamura
a045a7ffb6 Add //third_party/blink/tools/run_web_tests.*,
which is the new name of run-webkit-tests.
This CL also replaces references to "run-webkit-tests" with
"run_web_tests.py".

* //blink/tools/run_layout_tests.py
 Show a message, and run run_web_tests.py.

* //BUILD.gn
 "webkit_layout_tests" doesn't need //third_party/WebKit/Tools/Scripts
 any longer.

* //testing/buildbot/gn_isolate_map.pyl
 Replace run-webkit-tests with run_web_tests.py.

* //third_party/blink/tools/run_web_tests.{bat,py}
 Added.

* //third_party/WebKit/Tools/Scripts/run-webkit-tests
 Show a message.

* Other files: Really trivial changes. In many files, this CL
  replaces "run-webkit-tests" with "run_web_tests.py" in comments or
  strings.

Note that we decided to rename LayoutTests to web_tests.
https://groups.google.com/a/chromium.org/forum/#!msg/blink-dev/KKNbuzj-3HY/H8FWgtKrBgAJ


Bug: 829697
Change-Id: I899457cb3bcdb306aa47843a4c767c5980d9edc0
Reviewed-on: https://chromium-review.googlesource.com/1025543
Commit-Queue: Kent Tamura <tkent@chromium.org>
Reviewed-by: Nico Weber <thakis@chromium.org>
Reviewed-by: Quinten Yearsley <qyearsley@chromium.org>
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Cr-Commit-Position: refs/heads/master@{#553452}
2018-04-25 05:08:11 +00:00
Kent Tamura
02b4a5b1fc Add //thid_party/blink/tools/lint_test_expectations.py
It will supersedes //third_party/WebKit/Tools/Scripts/lint-test-expectations.
lint-test-expectaions isn't removed yet due to dependency from
build/scripts/slave/chromium/.

Bug: 829697
Change-Id: I213b413304240e2f8672a1d2209a2800331b1ade
Reviewed-on: https://chromium-review.googlesource.com/1025437
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Commit-Queue: Kent Tamura <tkent@chromium.org>
Cr-Commit-Position: refs/heads/master@{#553357}
2018-04-24 23:26:28 +00:00
Kent Tamura
b53757e230 Move WebKit/Tools/Scripts/webkit-patch to blink/tools/blink_tool.py
The suffix part of the new name is 'tool' instead of 'patch' because
this command doesn't handle patches so much.

Bug: 829697
Change-Id: I90f34b6260032a7bbaf562d9b58ffc1a55c3922f
Reviewed-on: https://chromium-review.googlesource.com/1018700
Commit-Queue: Kent Tamura <tkent@chromium.org>
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Reviewed-by: Quinten Yearsley <qyearsley@chromium.org>
Cr-Commit-Position: refs/heads/master@{#552382}
2018-04-20 17:54:48 +00:00
Kent Tamura
e81dbff656 Move various scripts from //third_party/WebKit/Tools/Scripts to //third_party/blink/tools
* bisect-test-ordering -> bisect_web_test_ordering
* debug-renderer -> debug_renderer
* debug-webkit-tests -> debug_web_tests
* print-stale-test-expectations-entries ->
    print_stale_test_expectations_entries.py
* print-json-test-results -> print_web_test_json_results.py
* print-test-ordering -> print_web_test_ordering.py
* print-layout-test-times -> print_web_test_times.py
* print-layout-test-types -> print_web_test_types.py
* read-checksum-from-png -> read_checksum_from_png.py
* run-blink-httpd -> run_blink_httpd.py
* run-blink-websocketserver -> run_blink_websocketserver.py
* run-blink-wptserve -> run_blink_wptserve.py
* try-flag -> try_flag.py
* update-flaky-expectations -> update_flaky_expectations.py

Note that we decided to rename LayoutTests to web_tests.
https://groups.google.com/a/chromium.org/forum/#!msg/blink-dev/KKNbuzj-3HY/H8FWgtKrBgAJ

Bug: 829697
Change-Id: Ia3dd95f6b42e337deb79deb3e4524aded378d78f
Reviewed-on: https://chromium-review.googlesource.com/1018702
Reviewed-by: Quinten Yearsley <qyearsley@chromium.org>
Commit-Queue: Kent Tamura <tkent@chromium.org>
Cr-Commit-Position: refs/heads/master@{#552369}
2018-04-20 17:35:34 +00:00
Kent Tamura
6943cf79b1 Replace third_party/WebKit with third_party/blink in *.md
Also, apply snake_case to file basenames.

TBR=jam@chromium.org

Bug: 768828
Change-Id: I28bead32daf1adbf15033b778c633b034a743562
Reviewed-on: https://chromium-review.googlesource.com/1001436
Reviewed-by: Kent Tamura <tkent@chromium.org>
Commit-Queue: Kent Tamura <tkent@chromium.org>
Cr-Commit-Position: refs/heads/master@{#549110}
2018-04-09 05:24:54 +00:00
Raphael Kubo da Costa
ac0fd25534 WPT: Allow setting GitHub credentials as env variables, warn when they are not set
A fresh WPT import checkout is very likely to fail when no GitHub
credentials are used due to the number of API requests we make vs.
GitHub's rate limits for unauthenticated requests.

Make things more obvious by:
* Allowing the credentials to be specified as environment variables in
  addition to a JSON file (when both are set, the JSON file specified in
  the command-line has precedence).
* Printing a warning in test_importer.py when no credentials are set and
  pointing to the documentation in //docs/testing.
* Expanding the error message in test_exporter.py to point to the same
  location.

Bug: 816390
Change-Id: I5508e024e8a13e6f597f027cd157d7abbe9b2fe1
Reviewed-on: https://chromium-review.googlesource.com/937462
Reviewed-by: Philip Jägenstedt <foolip@chromium.org>
Commit-Queue: Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com>
Cr-Commit-Position: refs/heads/master@{#539164}
2018-02-26 16:50:29 +00:00
Raphael Kubo da Costa
c089b56989 web_platform_tests.md: Sync documentation with reality.
--allow-local-commits was removed in 4a301c5 ("Remove the
--allow-local-commits flag from wpt-import") so stop recommending its usage.

Additionally, given the amount of export commits we have in
web-platform-tests it is likely that unauthenticated runs will fail, so
explain how to use the --credentials-json option in both wpt-export and
wpt-import.

Bug: 816390
Change-Id: I72d7bc6dcb80d0db372e9dac1176f68d1b812bcb
Reviewed-on: https://chromium-review.googlesource.com/937241
Reviewed-by: Philip Jägenstedt <foolip@chromium.org>
Commit-Queue: Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com>
Cr-Commit-Position: refs/heads/master@{#539116}
2018-02-26 13:20:09 +00:00
Peter Boström
e2732ef7da Update InvokeUi command-line documentation
Replaces mentions of --interactive with --test-launcher-interactive and
one stale --dialog with --ui.

Bug: None
Change-Id: I6d2f80aae8b4282fdb1bd57bee2dd52d86b43250
Reviewed-on: https://chromium-review.googlesource.com/929342
Commit-Queue: Peter Kasting <pkasting@chromium.org>
Reviewed-by: Peter Kasting <pkasting@chromium.org>
Cr-Commit-Position: refs/heads/master@{#538221}
2018-02-21 21:53:24 +00:00
Kim Paulhamus
61d60c3b3d Fix minor typo: Tools/Script/ => Tools/Scripts/
Change-Id: Iec639c27b5be4016044859292fc8e437a04e9fee
Reviewed-on: https://chromium-review.googlesource.com/911988
Reviewed-by: Quinten Yearsley <qyearsley@chromium.org>
Commit-Queue: Kim Paulhamus <kpaulhamus@chromium.org>
Cr-Commit-Position: refs/heads/master@{#535752}
2018-02-09 18:03:49 +00:00
Philip Jägenstedt
8bb32fac6c Document the use of tentative tests and testdriver.js in wpt
No-Try: true
Change-Id: Ic182c3267a4f3e53c7103e897d1720a8e47d47bc
Reviewed-on: https://chromium-review.googlesource.com/876323
Commit-Queue: Philip Jägenstedt <foolip@chromium.org>
Reviewed-by: Darren Shen <shend@chromium.org>
Reviewed-by: Robert Ma <robertma@chromium.org>
Cr-Commit-Position: refs/heads/master@{#532214}
2018-01-27 14:39:26 +00:00
Philip Jägenstedt
f7e99cf6fc Document that go/github is useful for Googlers working on wpt
No-Try: true
Change-Id: Ie48f4b82d576b9726f50424c2aaea5e4c545109b
Reviewed-on: https://chromium-review.googlesource.com/875926
Reviewed-by: Robert Ma <robertma@chromium.org>
Commit-Queue: Robert Ma <robertma@chromium.org>
Cr-Commit-Position: refs/heads/master@{#530873}
2018-01-22 15:54:29 +00:00
Quinten Yearsley
17bf9b4345 Revert "Remove --fully-parallel from tests."
This reverts commit e71979baad.

Reason for revert: mstensho@ reports that this flag is actually still useful and we still want to keep it.

Original change's description:
> Remove --fully-parallel from tests.
> 
> Bug: 692866
> Change-Id: I0530db53a88da0eaf8c813f41047832ed6bbbc0d
> Reviewed-on: https://chromium-review.googlesource.com/741106
> Commit-Queue: Quinten Yearsley <qyearsley@chromium.org>
> Reviewed-by: Quinten Yearsley <qyearsley@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#525379}

TBR=qyearsley@chromium.org,mjkim610@gmail.com

# Not skipping CQ checks because original CL landed > 1 day ago.

Bug: 692866
Change-Id: I1d694c1ef7437f784aa2cb2de47850fd68b4d3ab
Reviewed-on: https://chromium-review.googlesource.com/847872
Reviewed-by: Quinten Yearsley <qyearsley@chromium.org>
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Commit-Queue: Quinten Yearsley <qyearsley@chromium.org>
Cr-Commit-Position: refs/heads/master@{#526559}
2018-01-03 01:09:59 +00:00
Myung-jong Kim
e71979baad Remove --fully-parallel from tests.
Bug: 692866
Change-Id: I0530db53a88da0eaf8c813f41047832ed6bbbc0d
Reviewed-on: https://chromium-review.googlesource.com/741106
Commit-Queue: Quinten Yearsley <qyearsley@chromium.org>
Reviewed-by: Quinten Yearsley <qyearsley@chromium.org>
Cr-Commit-Position: refs/heads/master@{#525379}
2017-12-20 18:33:39 +00:00
Peter Kasting
cf49b7b795 Refactor dialog testing framework to allow arbitrary UI testing.
This introduces a new base class, TestBrowserUI, and reorganizes the existing
test code into a series of virtual functions so tests can provide the necessary
implementation for non-dialog cases.

This also adds a single consumer of this new base class, InfoBarUITest, to
verify it works.

Bug: 686285
Change-Id: I2b5a7c86347f5042ac5218c9fa90e94f68adf577
Reviewed-on: https://chromium-review.googlesource.com/804953
Commit-Queue: Peter Kasting <pkasting@chromium.org>
Reviewed-by: Scott Violet <sky@chromium.org>
Reviewed-by: Trent Apted <tapted@chromium.org>
Cr-Commit-Position: refs/heads/master@{#524855}
2017-12-18 23:27:45 +00:00
Stephen Martinis
e1e5bf9144 Clarify artifact documentation for test results
This clarifies the meaning of forward slashes in artifact file paths,
and also clarifies the directory these paths are relative to, when no
artifact permanent location is set.

Bug: 775619
Change-Id: I1f41d86273455123823350a39b239cc04b6a0216
Reviewed-on: https://chromium-review.googlesource.com/802092
Commit-Queue: Stephen Martinis <martiniss@chromium.org>
Reviewed-by: Ned Nguyen <nednguyen@google.com>
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Cr-Commit-Position: refs/heads/master@{#521525}
2017-12-04 23:44:33 +00:00
Robert Ma
89eeaa5ad4 Move all-PASS baseline optimization to BaselineOptimizer
which is a more logical and intuitive place than Rebaseline.

Besides, we add support for removing redundant all-PASS testharness.js
baselines that are not at the root. This may happen when a platfrom
result becomes all-PASS, when its fallback platforms are already
all-PASS, in which case we only download a new all-PASS baseline to the
platform. The previous optimization only looked at the root.

Bug: 768525
Change-Id: Icf4fa98850f5a72541a20d54217a64daef8cb389
Reviewed-on: https://chromium-review.googlesource.com/803795
Commit-Queue: Robert Ma <robertma@chromium.org>
Reviewed-by: Quinten Yearsley <qyearsley@chromium.org>
Cr-Commit-Position: refs/heads/master@{#521173}
2017-12-02 01:34:47 +00:00
Will Chen
22b4885010 DevTools: update layout test docs for debugging DevTools tests
Bug: 667560
Change-Id: Ic335a8364393e85de100e5b82f2d03dd6983ff84
Reviewed-on: https://chromium-review.googlesource.com/801258
Reviewed-by: Joel Einbinder <einbinder@chromium.org>
Commit-Queue: Will Chen <chenwilliam@chromium.org>
Cr-Commit-Position: refs/heads/master@{#520699}
2017-11-30 21:37:15 +00:00
Robert Ma
06f7acc6f3 Document LayoutTests baseline fallback and optimization
Bug: 767356
Change-Id: I2f8df4e507c4de83ac4c5166870cf673d1bd8465
Reviewed-on: https://chromium-review.googlesource.com/755376
Commit-Queue: Robert Ma <robertma@chromium.org>
Reviewed-by: Quinten Yearsley <qyearsley@chromium.org>
Cr-Commit-Position: refs/heads/master@{#516350}
2017-11-14 17:55:47 +00:00
Robert Sesek
6ffeca5e9a [Win] Switch Content Shell to use Crashpad instead of Breakpad.
Test:
  ninja -C out\debug
  python content\shell\tools\breakpad_integration_test.py ^
      --build-dir=out\debug ^
      --binary=out\debug\content_shell.exe

Bug: 466890
Change-Id: I76bf5c3e165d450d401aa3ac689cb0b5b49f3511
Reviewed-on: https://chromium-review.googlesource.com/760549
Reviewed-by: Mark Mentovai <mark@chromium.org>
Reviewed-by: Jochen Eisinger <jochen@chromium.org>
Commit-Queue: Robert Sesek <rsesek@chromium.org>
Cr-Commit-Position: refs/heads/master@{#516310}
2017-11-14 15:51:22 +00:00
Stephen Martinis
fa0f6cc461 Add artifact docs for json test results
Bug: 
Change-Id: I9a0372f0eb4f57d73b8ec24ba0255b39e6b3dbf2
Reviewed-on: https://chromium-review.googlesource.com/729212
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Reviewed-by: Ned Nguyen <nednguyen@google.com>
Commit-Queue: Stephen Martinis <martiniss@chromium.org>
Cr-Commit-Position: refs/heads/master@{#515063}
2017-11-09 02:33:05 +00:00
Jeff Carpenter
11b548b855 Add section in docs for running WPT tests
Bug: 747099
Change-Id: I27de4ab887dd0b9479e6ad87383a9446b8951915
Reviewed-on: https://chromium-review.googlesource.com/752145
Reviewed-by: Quinten Yearsley <qyearsley@chromium.org>
Commit-Queue: Jeff Carpenter <jeffcarp@chromium.org>
Cr-Commit-Position: refs/heads/master@{#513938}
2017-11-03 23:05:22 +00:00
Jeff Carpenter
d66c689c1a Fix extraneous parenthesis in WPT docs
Also edit a couple words.

Bug: 
Change-Id: I1398aac2be37aa2902a0def6892ad273946eb178
Reviewed-on: https://chromium-review.googlesource.com/752060
Reviewed-by: Quinten Yearsley <qyearsley@chromium.org>
Commit-Queue: Jeff Carpenter <jeffcarp@chromium.org>
Cr-Commit-Position: refs/heads/master@{#513629}
2017-11-03 00:13:53 +00:00
Xianzhu Wang
5ca1d27a4a [run-webkit-tests] Let --reset-results reset flag-specific baselines
If --additional-driver-flag is specified, it was weird to still let
--reset-results reset the existing baselines. There seems no use case
for that.

Now let --reset-results reset flag-specific baselines if --additional-
driver-flag is specified.

Bug: 660231
Change-Id: I6ee5a5f563a7f972fcece763256d7f99f3e97cbe
Reviewed-on: https://chromium-review.googlesource.com/740841
Reviewed-by: Chris Harrelson <chrishtr@chromium.org>
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#512061}
2017-10-27 01:44:56 +00:00
Stephen Martinis
89f9ca6ed8 Convert test results json doc to markdown.
This is a conversion of 
https://sites.google.com/a/chromium.org/dev/developers/the-json-test-results-format
to markdown.

Bug: 775619
Change-Id: Ibd9b6f95c8aedb21ba1fe9af129765ba84de80c9
Reviewed-on: https://chromium-review.googlesource.com/724219
Commit-Queue: Stephen Martinis <martiniss@chromium.org>
Reviewed-by: John Budorick <jbudorick@chromium.org>
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Cr-Commit-Position: refs/heads/master@{#509829}
2017-10-18 19:12:35 +00:00
Xianzhu Wang
d063968e93 run-webkit-tests --copy-baselines
--copy-baselines:
If the actual result is different from the current baseline,
copy the current baseline into the *most-specific-platform*
directory, or the flag-specific generic-platform directory if
--additional-driver-flag is specified. See --reset-results.

--reset-results:
Reset expectations to the generated results in their existing location.
If --copy-baselines is specified, the copied baselines will be reset.

--new-flag-specific-baseline:
Deprecated. Replaced by --copy-baselines --reset-results

--add-platform-exceptions:
Deprecated.

The separation of --new-flag-specific-baseline into --copy-baselines and
--reset-results (existing) is to ease code review of flag-specific
rebaseline CLs. The developer can use --copy-baselines to generate the
first patch set, then use --reset-results to generate the second patch
set. The reviewer compares the first and the second patch sets to see
the difference of the new baselines.

Bug: 660231
Change-Id: Ia91a92ddb9e260b20566e49705f551df13ccacc3
Reviewed-on: https://chromium-review.googlesource.com/713760
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Reviewed-by: Steve Kobes <skobes@chromium.org>
Reviewed-by: Quinten Yearsley <qyearsley@chromium.org>
Cr-Commit-Position: refs/heads/master@{#509077}
2017-10-16 16:47:44 +00:00
Daniel Cheng
504000e36e Remove bullet point about problems with clipboard from layout test docs.
In Chromium, layout tests on all platforms use a mock clipboard.

Change-Id: I09c4c92fbebab509d42ed508de303d1c193d03f2
Reviewed-on: https://chromium-review.googlesource.com/678252
Reviewed-by: Victor Costan <pwnall@chromium.org>
Commit-Queue: Daniel Cheng <dcheng@chromium.org>
Cr-Commit-Position: refs/heads/master@{#503680}
2017-09-22 07:47:56 +00:00
Philip Jägenstedt
8d4218a363 Fix link to wpt-export script in wpt documentation
Reported by Simon Pieters.

No-Try: true
Change-Id: I466202c42da81f89083cc3479035b2cb1924e8af
Reviewed-on: https://chromium-review.googlesource.com/672366
Reviewed-by: Rick Byers <rbyers@chromium.org>
Commit-Queue: Rick Byers <rbyers@chromium.org>
Cr-Commit-Position: refs/heads/master@{#502829}
2017-09-19 12:30:42 +00:00
Quinten Yearsley
95fa323ea6 Add a note in the docs about disabling wpt-importer
Bug: 755756
Change-Id: Ia53261df2ef3fb8030b0349b6498aa32d02e9347
Reviewed-on: https://chromium-review.googlesource.com/617593
Reviewed-by: Philip Jägenstedt <foolip@chromium.org>
Commit-Queue: Quinten Yearsley <qyearsley@chromium.org>
Cr-Commit-Position: refs/heads/master@{#495564}
2017-08-18 16:10:55 +00:00
Robert Ma
89dd91d836 Fix syntax error in layout_tests.md
Change-Id: Ibe8ccc0be09764fe4aca158dd9fec026bd7b4ce2
Reviewed-on: https://chromium-review.googlesource.com/592414
Reviewed-by: Quinten Yearsley <qyearsley@chromium.org>
Commit-Queue: Robert Ma <robertma@chromium.org>
Cr-Commit-Position: refs/heads/master@{#491435}
2017-08-02 18:08:44 +00:00
Hajime Hoshi
a6fad028e4 Fix documentation for run-blink-httpd
'start' argument is no longer used per https://codereview.chromium.org/135653016

Change-Id: If9e87db7dcb6a085550e66978d203269c7090c09
Reviewed-on: https://chromium-review.googlesource.com/595297
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Commit-Queue: Hajime Hoshi <hajimehoshi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#491050}
2017-08-01 17:57:58 +00:00
Quinten Yearsley
d13299d0d6 Update layout test rebaselining documentation
This removes mention of NeedsRebaseline/rebaseline-o-matic, which have
now been removed.

Bug: 692811
Change-Id: I9893eef07c7380186398a89a7cfdbcd524627193
Reviewed-on: https://chromium-review.googlesource.com/584941
Reviewed-by: Jeff Carpenter <jeffcarp@chromium.org>
Commit-Queue: Quinten Yearsley <qyearsley@chromium.org>
Cr-Commit-Position: refs/heads/master@{#489350}
2017-07-25 17:22:17 +00:00
Steve Kobes
e123a3d487 Add documentation on bisecting layout test regressions.
Bug: 740070
Change-Id: I26fa14774e0bc697346033af805dd8bf68e14d0c
Reviewed-on: https://chromium-review.googlesource.com/578730
Reviewed-by: Emil A Eklund <eae@chromium.org>
Commit-Queue: Emil A Eklund <eae@chromium.org>
Cr-Commit-Position: refs/heads/master@{#488078}
2017-07-20 01:20:30 +00:00
Jeff Carpenter
4562d24d1f [WPT Export] Update docs
- Update instructions for new Gerrit provisional PR flow
- Split out necessary information from additional information
- Add note that CLs with >1000 files will not be exported
- Rephrase a lot of things

Bug: 
Change-Id: Ie40bdd4ca39b5efaf63fa7341d9df861d16e84dc
Reviewed-on: https://chromium-review.googlesource.com/567592
Commit-Queue: Jeff Carpenter <jeffcarp@chromium.org>
Reviewed-by: Quinten Yearsley <qyearsley@chromium.org>
Cr-Commit-Position: refs/heads/master@{#486904}
2017-07-14 22:10:43 +00:00
Quinten Yearsley
52f2976b81 Update link to import CLs in wpt docs
Change-Id: I3d454f70f477b5ada2608c85dd8b54badf89fa71
Reviewed-on: https://chromium-review.googlesource.com/569000
Reviewed-by: Jeff Carpenter <jeffcarp@chromium.org>
Commit-Queue: Quinten Yearsley <qyearsley@chromium.org>
Cr-Commit-Position: refs/heads/master@{#486148}
2017-07-12 23:02:25 +00:00
Quinten Yearsley
e577029f6c Add more detail to web_platform_tests.md about manual tests
Change-Id: I025016b77d66ef7f34ff24a6bc3b0d2df046ce05
Reviewed-on: https://chromium-review.googlesource.com/560089
Reviewed-by: Philip Jägenstedt <foolip@chromium.org>
Commit-Queue: Quinten Yearsley <qyearsley@chromium.org>
Cr-Commit-Position: refs/heads/master@{#484404}
2017-07-06 00:21:03 +00:00
Quinten Yearsley
12a15b7622 Clarify docs and note in wpt-importer commit descriptions.
Purpose: The purpose of this commit is to try to offer
clearer info/suggestions to sheriffs when import CLs
cause failures.

Change-Id: I90711d6bfe2f04ff0ec2a9d8c2f9caa92637f688
Bug: 726572
Reviewed-on: https://chromium-review.googlesource.com/516203
Reviewed-by: Matt Giuca <mgiuca@chromium.org>
Commit-Queue: Quinten Yearsley <qyearsley@chromium.org>
Cr-Commit-Position: refs/heads/master@{#477522}
2017-06-07 02:34:44 +00:00
Xianzhu Wang
95d0bac322 Add --new-flag-specific-baseline option to run-webkit-tests
The new option will create new flag-specific baselines when
--additional-driver-flag is specified. For example, we can create
new baselines under LayoutTests/flag-specific/enable-slimming-paint-v2
for --additional-driver-flag=--enable-slimming-paint-v2.  

Change-Id: I159f59b70538807154cd2ecd7faa324091246478
Reviewed-on: https://chromium-review.googlesource.com/522916
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Reviewed-by: Walter Korman <wkorman@chromium.org>
Reviewed-by: Quinten Yearsley <qyearsley@chromium.org>
Cr-Commit-Position: refs/heads/master@{#477101}
2017-06-05 22:35:33 +00:00
Xianzhu Wang
cacba48799 Deprecate --new-baseline and --new-test-results
Use --reset-results instead of --new-test-results.

Use "webkit-patch rebaseline-cl" or "--reset-results --add-platform-exceptions"
instead of --new-baseline.

Still keep "--add-platform-exceptions" to create platform-version-specific
baselines. May remove it in the future if no one wants it.

BUG=660231

Change-Id: I9671c69a806e5cba1ccd838944e757a364a947a2
Reviewed-on: https://chromium-review.googlesource.com/523386
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Reviewed-by: Quinten Yearsley <qyearsley@chromium.org>
Reviewed-by: Walter Korman <wkorman@chromium.org>
Cr-Commit-Position: refs/heads/master@{#477075}
2017-06-05 20:36:10 +00:00
Quinten Yearsley
a58f83c9a3 Update docs about usage of rebaseline-cl.
Change-Id: I64da2fe4568e81d12a7f6fc8238c9969036bac5d
Reviewed-on: https://chromium-review.googlesource.com/514423
Commit-Queue: Quinten Yearsley <qyearsley@chromium.org>
Reviewed-by: Walter Korman <wkorman@chromium.org>
Cr-Commit-Position: refs/heads/master@{#475555}
2017-05-30 16:37:58 +00:00