Run Diagnostics with Modem-Test
| Command | Description |
|---|---|
modem-test |
The |
| Options | |
|---|---|
-h, --help |
Show this help message and exit. |
-o {Output.TEXT,Output.JSON,Output.SUPPORT,Output.ZIP}, --output |
The test output format. If a format is not provided, the default output is text. |
-p, --privileged |
Run privileged tests, the modem will be rebooted. |
-n, --no-color |
Display terminal text in monochrome. |
-i MATCH_TEST_IDS, --match-test-ids MATCH_TEST_IDS |
Wildcard pattern matching test IDs to run. |
-t {Type.AT,Type.QMICLI}, --match-test-type {Type.AT,Type.QMICLI} |
Only run the matching test type. |
--input-file INPUT_FILE
|
Read test results from the given JSON file. |
--output-file OUTPUT_FILE
|
Output test results to the given file. |
-v, --verbose |
Display extra debug information. |
| Syntax |
|---|
modem-test [-h] [-o {Output.TEXT,Output.JSON,Output.SUPPORT,Output.ZIP}] [-p] [-n] [-i MATCH_TEST_IDS] [-t {Type.AT,Type.QMICLI}] [--input-file INPUT_FILE]
[--output-file OUTPUT_FILE] [-v] |
| Examples |
|---|
|
Run all non-provileged tests and output in text format without color: $ modem-test --no-color Run all tests including privilieged and output in support-report format: $ modem-test --privileged --out=support Only run all 'network' and 'data' category tests and output as JSON: $ modem-test -i network/* -i data/* --out=json Run all 'device' category tests using AT commands and output in zipped support-report format: $ modem-test -i device/* -t at --out=zip Run all tests using QMI and output in text format: $ modem-test -t qmi --out=text Only run the support/module-detect test and output in the default text format: $ modem-test --match-test-ids=support/module-detect |