2019-01-23 23:31:06 +08:00
|
|
|
This directory contains implementations for west commands which are
|
2020-08-22 06:47:22 +08:00
|
|
|
tightly coupled to the zephyr tree. This includes the build, flash,
|
|
|
|
and debug commands.
|
2019-01-23 23:31:06 +08:00
|
|
|
|
|
|
|
Before adding more here, consider whether you might want to put new
|
|
|
|
extensions in upstream west. For example, any commands which operate
|
|
|
|
on the multi-repo need to be in upstream west, not here. Try to limit
|
2020-08-22 06:47:22 +08:00
|
|
|
what goes in here to Zephyr-specific features.
|
2019-01-23 23:31:06 +08:00
|
|
|
|
2019-01-29 01:21:09 +08:00
|
|
|
When extending this code, please keep the unit tests (in tests/) up to
|
2020-08-22 06:47:22 +08:00
|
|
|
date. The mypy static type checker is also run on the runners package.
|
2019-01-29 01:21:09 +08:00
|
|
|
|
2020-08-22 06:47:22 +08:00
|
|
|
To run these tests locally on Windows, run:
|
2019-01-29 01:21:09 +08:00
|
|
|
|
2020-08-22 06:47:22 +08:00
|
|
|
py -3 run_tests.py
|
2019-01-29 01:21:09 +08:00
|
|
|
|
2020-08-22 06:47:22 +08:00
|
|
|
On macOS and Linux:
|
|
|
|
|
|
|
|
./run_tests.py
|
2019-01-29 01:21:09 +08:00
|
|
|
|
|
|
|
Note that these tests are run as part of Zephyr's CI when submitting
|
|
|
|
an upstream pull request, and pull requests which break the tests
|
|
|
|
cannot be merged.
|
|
|
|
|
2019-01-23 23:31:06 +08:00
|
|
|
Thanks!
|