Template code Support mbed-os 5.x
Dependencies: X_NUCLEO_IKS01A3
tests/README.md@0:3c909a9f5c1f, 2019-08-15 (annotated)
- Committer:
- noutram
- Date:
- Thu Aug 15 13:41:34 2019 +0000
- Revision:
- 0:3c909a9f5c1f
Please try this!
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| noutram | 0:3c909a9f5c1f | 1 | # Testing examples |
| noutram | 0:3c909a9f5c1f | 2 | |
| noutram | 0:3c909a9f5c1f | 3 | Examples are tested using tool [htrun](https://github.com/ARMmbed/mbed-os-tools/tree/master/packages/mbed-host-tests) and templated print log. |
| noutram | 0:3c909a9f5c1f | 4 | |
| noutram | 0:3c909a9f5c1f | 5 | To run the test, use following command after you build the example: |
| noutram | 0:3c909a9f5c1f | 6 | ``` |
| noutram | 0:3c909a9f5c1f | 7 | mbedhtrun -d D: -p COM4 -m K64F -f .\BUILD\K64F\GCC_ARM\blinky.bin --compare-log tests\blinky.log |
| noutram | 0:3c909a9f5c1f | 8 | ``` |
| noutram | 0:3c909a9f5c1f | 9 | |
| noutram | 0:3c909a9f5c1f | 10 | |
| noutram | 0:3c909a9f5c1f | 11 | More details about `htrun` are [here](https://github.com/ARMmbed/mbed-os-tools/tree/master/packages/mbed-host-tests#testing-mbed-os-examples). |
| noutram | 0:3c909a9f5c1f | 12 |