Skip to content

Commit f87219b

Browse files
authored
Merge pull request #1 from k-stachowiak/test-logs
Add a test log for htrun
2 parents 4bf465f + a72f43b commit f87219b

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

tests/README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Testing examples
2+
3+
Examples are tested using tool [htrun](https://github.com/ARMmbed/mbed-os-tools/tree/master/packages/mbed-host-tests) and templated print log.
4+
5+
To run the test, use following command after you build the example:
6+
```
7+
mbedhtrun -d D: -p COM4 -m K64F -f .\BUILD\K64F\GCC_ARM\mbed-os-example-atecc608a.bin --compare-log tests\atecc608a.log
8+
```
9+
10+
11+
More details about `htrun` are [here](https://github.com/ARMmbed/mbed-os-tools/tree/master/packages/mbed-host-tests#testing-mbed-os-examples).

tests/atecc608a.log

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Serial Number:
2+
SHA-256:
3+
Success!
4+
SHA-256:
5+
Success!

0 commit comments

Comments
 (0)