0

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}
This commit is contained in:
Gabriel Charette
2021-03-19 15:08:12 +00:00
committed by Chromium LUCI CQ
parent c14c40bcf5
commit 45cbb4a7b4

@ -63,7 +63,7 @@ third_party/blink/tools/run_web_tests.py -t Default
```
*** promo
* Windows users need to use `third_party/blink/tools/run_web_tests.bat` instead.
* Windows users need to use `third_party\blink\tools\run_web_tests.bat` instead.
* Linux users should not use `testing/xvfb.py`; `run_web_tests.py` manages Xvfb
itself.
***
@ -114,19 +114,19 @@ As a final quick-but-less-robust alternative, you can also just use the
content_shell executable to run specific tests by using (example on Windows):
```bash
out/Default/content_shell.exe --run-web-tests <url>|<full_test_source_path>|<relative_test_path>
out\\Default\\content_shell.exe --run-web-tests <url>|<full_test_source_path>|<relative_test_path>
```
as in:
```bash
out/Default/content_shell.exe --run-web-tests \
c:/chrome/src/third_party/blink/web_tests/fast/forms/001.html
out\\Default\\content_shell.exe --run-web-tests \
c:\\chrome\\src\\third_party\\blink\\web_tests\\fast\\forms\\001.html
```
or
```bash
out/Default/content_shell.exe --run-web-tests fast/forms/001.html
out\\Default\\content_shell.exe --run-web-tests fast\\forms\\001.html
```
but this requires a manual diff against expected results, because the shell