Commit 5383e3c0 authored by Stephen McGruer's avatar Stephen McGruer Committed by Commit Bot

[wptrunner] Update docs to remove obsolete flag

Bug: None
Change-Id: Icc075456c6762fb8ae841ffccb743b3b8e9ddc5b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2519480Reviewed-by: default avatarLuke Z <lpz@chromium.org>
Commit-Queue: Luke Z <lpz@chromium.org>
Auto-Submit: Stephen McGruer <smcgruer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#824394}
parent 96f75a58
...@@ -44,18 +44,16 @@ executing it: ...@@ -44,18 +44,16 @@ executing it:
``` ```
cd testing/scripts cd testing/scripts
./run_wpt_tests.py --isolated-script-test-output=../../out/Release/results.json [test list] ./run_wpt_tests.py [test list]
``` ```
The `--isolated-script-test-output` flag is currently required (see [Known The list of tests should be given relative to `external/wpt/`, e.g.
Issues](#known-issues)), and the list of tests should be given relative to `webauthn/createcredential-timeout.https.html`. Directories are also accepted.
`external/wpt/`, e.g. `webauthn/createcredential-timeout.https.html`. Omitting the test list will run all WPT tests.
Directories are also accepted. Omitting the test list will run all WPT tests.
Results from the run are currently placed relative to Results from the run are placed in your build folder, in a folder called
`--isolated-script-test-output`, in a folder called `layout-test-results` (so `layout-test-results` (e.g. `../../out/Release/layout-test-results/`). Logs from
the above example would put results in `../../out/Release/layout-test-results/`). the browser should be shown by the runner as it executes each test.
Logs from the browser should be shown by the runner as it executes each test.
Useful flags: Useful flags:
...@@ -132,8 +130,6 @@ platform checks). Most `.ini` baseline files in Chromium should have the form: ...@@ -132,8 +130,6 @@ platform checks). Most `.ini` baseline files in Chromium should have the form:
## Known issues ## Known issues
* The `--isolated-script-test-output` flag is currently non-optional for
`run_wpt_tests.py`. We intend to infer this from `--target` in the future.
* There is no debugging support in `run_wpt_tests.py` today. In the future, we * There is no debugging support in `run_wpt_tests.py` today. In the future, we
intend to allow pausing the browser after each test, and (long-term) intend to intend to allow pausing the browser after each test, and (long-term) intend to
support hooking up gdb to test runs. support hooking up gdb to test runs.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment