mirror of
https://github.com/servo/servo.git
synced 2025-08-17 19:35:33 +01:00
Update web-platform-tests to revision 5e377e222095625488698633a435d6c19e4d611d
This commit is contained in:
parent
53d9ca1bcd
commit
53868fcf1b
18 changed files with 265 additions and 38 deletions
|
@ -128,22 +128,31 @@ The test environment can then be started using
|
|||
./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
|
||||
one port. By default the web servers start on ports 8000 and 8443 and the other
|
||||
ports are randomly-chosen free ports. Tests must be loaded from the
|
||||
*first* HTTP server in the output. To change the ports, copy the
|
||||
`config.default.json` file to `config.json` and edit the new file,
|
||||
replacing the part that reads:
|
||||
|
||||
```
|
||||
"http": [8000, "auto"]
|
||||
"http": [8000, "auto"],
|
||||
"https":[8443]
|
||||
```
|
||||
|
||||
to some port of your choice e.g.
|
||||
to some ports of your choice e.g.
|
||||
|
||||
```
|
||||
"http": [1234, "auto"]
|
||||
"http": [1234, "auto"],
|
||||
"https":[5678]
|
||||
```
|
||||
|
||||
After your `hosts` file is configured, the servers will be locally accessible at:
|
||||
|
||||
http://web-platform.test:8000/<br>
|
||||
https://web-platform.test:8443/ *
|
||||
|
||||
\**See [Trusting Root CA](README.md#trusting-root-ca)*
|
||||
|
||||
## Running tests automatically
|
||||
|
||||
The `wpt run` command provides a frontend for running tests automatically
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue