mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Fix wpt readme for mach changes
This commit is contained in:
parent
2ffa845cf4
commit
57e7fa92db
1 changed files with 3 additions and 4 deletions
|
@ -15,17 +15,16 @@ In particular, this folder contains:
|
||||||
Running the tests
|
Running the tests
|
||||||
=================
|
=================
|
||||||
|
|
||||||
The simplest way to run the tests in Servo is `./mach test` in the root
|
The simplest way to run the tests in Servo is `./mach test-wpt` in the root
|
||||||
directory. This will run the subset of JavaScript tests defined in
|
directory. This will run the subset of JavaScript tests defined in
|
||||||
`include.ini` and log the output to stdout.
|
`include.ini` and log the output to stdout.
|
||||||
|
|
||||||
Options can be passed through to `run.sh` by using the `WPTARGS` environment
|
Some of the arguments of `./mach test-wpt` include:
|
||||||
variable. Some useful options are:
|
|
||||||
|
|
||||||
* `--include`: specifies which test(s) to run.
|
* `--include`: specifies which test(s) to run.
|
||||||
For example, `--include=/dom` runs all the DOM tests, `--include=/dom/errors`
|
For example, `--include=/dom` runs all the DOM tests, `--include=/dom/errors`
|
||||||
runs all the DOM error tests and
|
runs all the DOM error tests and
|
||||||
`--include=/dom/errors/DOMException-constants.html` runs one specific test.
|
`--include=/dom/errors/DOMException-constants.html` runs one specific test. Paths should be relative to the `web-platform-tests` submodule.
|
||||||
(Note that this overrides `include.ini` completely.)
|
(Note that this overrides `include.ini` completely.)
|
||||||
* `--processes`: specifies the number of parallel processes to use (default 1).
|
* `--processes`: specifies the number of parallel processes to use (default 1).
|
||||||
When this argument is passed, the runner will spawn multiple instances of
|
When this argument is passed, the runner will spawn multiple instances of
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue