mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Remove bad advice from WPT docs.
I misunderstood the purpose of `--no-run`.
This commit is contained in:
parent
4b5bc4f9a9
commit
e843135be0
1 changed files with 2 additions and 2 deletions
|
@ -101,13 +101,13 @@ Writing new tests
|
|||
|
||||
The simplest way to create a new test is to use the following command:
|
||||
|
||||
./mach create-wpt tests/wpt/path/to/new/test.html --no-run
|
||||
./mach create-wpt tests/wpt/path/to/new/test.html
|
||||
|
||||
This will create test.html in the appropriate directory using the WPT
|
||||
template for JavaScript tests. To create a new reference test instead,
|
||||
use the following:
|
||||
|
||||
./mach create-wpt --reftest tests/wpt/path/to/new/reftest.html --no-run --reference tests/wpt/path/to/reference.html
|
||||
./mach create-wpt --reftest tests/wpt/path/to/new/reftest.html --reference tests/wpt/path/to/reference.html
|
||||
|
||||
`reference.html` will be created if it doesn't not exist, and `reftest.html`
|
||||
will be created using the WPT reftest template. These new tests can then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue