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