mirror of
https://github.com/servo/servo.git
synced 2025-09-05 20:48:22 +01:00
Update web-platform-tests to revision be5419e845d39089ba6dc338c1bd0fa279108317
This commit is contained in:
parent
aa199307c8
commit
2b6f573eb5
3440 changed files with 109438 additions and 41750 deletions
|
@ -53,8 +53,15 @@ Running Tests Manually
|
|||
======================
|
||||
|
||||
The test server can be started using
|
||||
```
|
||||
./wpt serve
|
||||
```
|
||||
|
||||
./wpt serve
|
||||
**On Windows**: You will need to preceed the prior command with
|
||||
`python` or the path to the python binary.
|
||||
```bash
|
||||
python wpt serve
|
||||
```
|
||||
|
||||
This will start HTTP servers on two ports and a websockets server on
|
||||
one port. By default one web server starts on port 8000 and the other
|
||||
|
@ -82,12 +89,15 @@ file setup documented above, but you must *not* have the
|
|||
test server already running when calling `wpt run`. The basic command
|
||||
line syntax is:
|
||||
|
||||
```
|
||||
```bash
|
||||
./wpt run product [tests]
|
||||
```
|
||||
|
||||
**On Windows**: You will need to preceed the prior command with
|
||||
`python` or the path to the python binary.
|
||||
```bash
|
||||
python wpt product [tests]
|
||||
```
|
||||
|
||||
where `product` is currently `firefox` or `chrome` and `[tests]` is a
|
||||
list of paths to tests. This will attempt to automatically locate a
|
||||
|
@ -114,7 +124,7 @@ brew install nss
|
|||
|
||||
On other platforms, download the firefox archive and common.tests.zip
|
||||
archive for your platform from
|
||||
[https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/](Mozilla CI)
|
||||
[Mozilla CI](https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/).
|
||||
|
||||
Then extract `certutil[.exe]` from the tests.zip package and
|
||||
`libnss3[.so|.dll|.dynlib]` and put the former on your path and the latter on
|
||||
|
@ -187,9 +197,13 @@ then remove the `tools` and `resources` directories, as above.
|
|||
<span id="windows-notes">Windows Notes</span>
|
||||
=============================================
|
||||
|
||||
On Windows `wpt` commands mut bre prefixed with `python` or the path
|
||||
On Windows `wpt` commands must be prefixed with `python` or the path
|
||||
to the python binary (if `python` is not in your `%PATH%`).
|
||||
|
||||
```bash
|
||||
python wpt [command]
|
||||
```
|
||||
|
||||
Alternatively, you may also use
|
||||
[Bash on Ubuntu on Windows](https://msdn.microsoft.com/en-us/commandline/wsl/about)
|
||||
in the Windows 10 Anniversary Update build, then access your windows
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue