mbed-os-examples
/
mbed-os-example-mbed5-thread-statistics
Example usage of the mbed_stats_thread_get_each API.
tests/README.md@21:cea47119a7f5, 2019-05-13 (annotated)
- Committer:
- mbed_official
- Date:
- Mon May 13 19:02:36 2019 +0100
- Revision:
- 21:cea47119a7f5
Merge pull request #26 from jamesbeyond/test
Add log test for thread statistics example
.
Commit copied from https://github.com/ARMmbed/mbed-os-example-thread-statistics
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mbed_official | 21:cea47119a7f5 | 1 | # Testing examples |
mbed_official | 21:cea47119a7f5 | 2 | |
mbed_official | 21:cea47119a7f5 | 3 | Examples are tested using tool [htrun](https://github.com/ARMmbed/mbed-os-tools/tree/master/packages/mbed-host-tests) and templated print log. |
mbed_official | 21:cea47119a7f5 | 4 | |
mbed_official | 21:cea47119a7f5 | 5 | To run the test, use following command after you build the example: |
mbed_official | 21:cea47119a7f5 | 6 | ``` |
mbed_official | 21:cea47119a7f5 | 7 | mbedhtrun -d D: -p COM4 -m K64F -f .\BUILD\K64F\GCC_ARM\thread-statistics.bin --compare-log tests\thread-statistics.log |
mbed_official | 21:cea47119a7f5 | 8 | ``` |
mbed_official | 21:cea47119a7f5 | 9 | |
mbed_official | 21:cea47119a7f5 | 10 | |
mbed_official | 21:cea47119a7f5 | 11 | More details about `htrun` are [here](https://github.com/ARMmbed/htrun#testing-mbed-os-examples). |
mbed_official | 21:cea47119a7f5 | 12 |