@@ -244,8 +244,8 @@ Some tests provides the option to exclude them. For example, you can use
244
244
It is recommended to use the test wrapper to run mobile-device-test.py, for
245
245
example, you can run:
246
246
247
- ```
248
- ./scripts/tests/run_python_test.py --app chip-all-clusters-app --factoryreset
247
+ ```shell
248
+ ./scripts/tests/run_python_test.py --app chip-all-clusters-app --factory-reset
249
249
```
250
250
251
251
It provides some extra options, for example:
@@ -254,7 +254,7 @@ It provides some extra options, for example:
254
254
optional arguments:
255
255
-h, --help show this help message and exit
256
256
--app APP Path to local application to use, omit to use external apps.
257
- --factoryreset Remove app config and repl configs (/tmp/chip* and /tmp/repl* ) before running the tests.
257
+ --factory-reset Remove app config and repl configs (/tmp/chip* and /tmp/repl*) before running the tests.
258
258
--app-args APP_ARGS The extra parameters passed to the device side app.
259
259
--script SCRIPT Path to the test script to use, omit to use the default test script (mobile-device-test.py).
260
260
--script-args SCRIPT_ARGS Arguments for the REPL test script
@@ -263,8 +263,8 @@ optional arguments:
263
263
You can pass your own flags for mobile-device-test.py by appending them to the
264
264
command line with two dashes, for example:
265
265
266
- ```
267
- ./scripts/tests/run_python_test.py --app out/linux-x64-all-clusters-no-ble-no-wifi-tsan-clang/chip-all-clusters-app --factoryreset --script-args "-t 90 --disable-test ClusterObjectTests.TestTimedRequestTimeout"
266
+ ``` shell
267
+ ./scripts/tests/run_python_test.py --app out/linux-x64-all-clusters-no-ble-no-wifi-tsan-clang/chip-all-clusters-app --factory-reset --script-args " -t 90 --disable-test ClusterObjectTests.TestTimedRequestTimeout"
268
268
```
269
269
270
270
will pass ` -t 90 --disable-test ClusterObjectTests.TestTimedRequestTimeout ` to
0 commit comments