![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
00
tests/README.md@0:69db88456c7f, 2019-10-17 (annotated)
- Committer:
- peng103617
- Date:
- Thu Oct 17 03:27:19 2019 +0000
- Revision:
- 0:69db88456c7f
916
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
peng103617 | 0:69db88456c7f | 1 | # Testing examples |
peng103617 | 0:69db88456c7f | 2 | |
peng103617 | 0:69db88456c7f | 3 | Examples are tested using tool [htrun](https://github.com/ARMmbed/mbed-os-tools/tree/master/packages/mbed-host-tests) and templated print log. |
peng103617 | 0:69db88456c7f | 4 | |
peng103617 | 0:69db88456c7f | 5 | To run the test, use following command after you build the example: |
peng103617 | 0:69db88456c7f | 6 | ``` |
peng103617 | 0:69db88456c7f | 7 | mbedhtrun -d D: -p COM4 -m K64F -f .\BUILD\K64F\GCC_ARM\blinky.bin --compare-log tests\blinky.log |
peng103617 | 0:69db88456c7f | 8 | ``` |
peng103617 | 0:69db88456c7f | 9 | |
peng103617 | 0:69db88456c7f | 10 | |
peng103617 | 0:69db88456c7f | 11 | More details about `htrun` are [here](https://github.com/ARMmbed/mbed-os-tools/tree/master/packages/mbed-host-tests#testing-mbed-os-examples). |
peng103617 | 0:69db88456c7f | 12 |