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