2018-08-21 12:49:11 +08:00
|
|
|
Developer Documentation
|
|
|
|
=======================
|
|
|
|
**Table of Contents**
|
2015-12-30 06:21:40 +08:00
|
|
|
|
2018-08-12 17:25:54 +08:00
|
|
|
* [Debugging](#debugging)
|
|
|
|
* [Unit tests](#unit-tests)
|
|
|
|
# Debugging
|
|
|
|
Remote debug - gdb server (program is running) + Eclipse debug (debugger w/ code)
|
2018-08-11 14:37:17 +08:00
|
|
|
|
2018-08-25 15:40:01 +08:00
|
|
|
1. `cd ~/p/hstr/github/hstr/Debug && gdbserver :9999 ./hstr`
|
2018-08-12 17:25:54 +08:00
|
|
|
1. Eclipse/Debug Configuration/Using GDB Manual Remote Debugger launching|Debugger tab/Connection port: 9999
|
|
|
|
|
|
|
|
# Unit tests
|
2018-08-21 12:49:11 +08:00
|
|
|
HSTR unit tests are written using [Unity](http://www.throwtheswitch.org/unity/).
|
|
|
|
To run and manage unit test use scripts located in:
|
2018-08-12 17:25:54 +08:00
|
|
|
|
2018-08-21 12:49:11 +08:00
|
|
|
* `build/test-*.sh`
|