I'm running C++ on Cortex M4 and I want to start doing automated unit tests and coverage.
gcov
writes its output files - .gcno, .gcda
- on the target which is a no-go because I don't have a filesystem.
QUESTION
Is it possible to "intercept and redirect" these writes to the PC using gdb
?
I want to automate these tests via a Python script:
- Get unit test from data base
- Compile
- Transfer to target board
- Run
- Redirect results to PC