зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1906186 - Document the how of setting more than one pref value when running mochitests. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D215702
This commit is contained in:
Родитель
89a0571426
Коммит
acd6860f5a
|
@ -69,6 +69,12 @@ Equally, if you need to change a string pref:
|
|||
./mach mochitest --setpref="webgl.osmesa=string with whitespace" somePath/someTestFile.html
|
||||
```
|
||||
|
||||
To change more than one pref, you can add a `--setpref` argument for each:
|
||||
|
||||
```
|
||||
./mach mochitest --setpref="some.boolpref=true" --setpref="some.stringpref=string with whitespace" somePath/someTestFile.html
|
||||
```
|
||||
|
||||
## Can tests be run under a chrome URL?
|
||||
|
||||
Yes, use [mochitest-chrome](../chrome-tests/index.rst).
|
||||
|
|
Загрузка…
Ссылка в новой задаче