mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Auto merge of #8188 - servo:jdm-patch-1, r=frewsxcv
Remove bad advice from WPT docs. I misunderstood the purpose of `--no-run`. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8188) <!-- Reviewable:end -->
This commit is contained in:
commit
47f6eb744f
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