v2: Address feedback from Tomas Glozar
- Split the patch.
- Extract separate target unit-tests.
- Use build system
- Add libcheck to tools/build dependency detection

Costa Shulyupin (2):
  tools/build: Add feature test for libcheck
  tools/rtla: Add unit tests for utils.c

 tools/build/Makefile.feature                |   3 +
 tools/build/feature/Makefile                |   4 +
 tools/build/feature/test-libcheck.c         |   8 ++
 tools/tracing/rtla/Build                    |   1 +
 tools/tracing/rtla/Makefile                 |   5 +
 tools/tracing/rtla/Makefile.config          |   8 ++
 tools/tracing/rtla/README.txt               |   1 +
 tools/tracing/rtla/tests/unit/Build         |   2 +
 tools/tracing/rtla/tests/unit/Makefile.unit |  17 +++
 tools/tracing/rtla/tests/unit/unit_tests.c  | 123 ++++++++++++++++++++
 10 files changed, 172 insertions(+)
 create mode 100644 tools/build/feature/test-libcheck.c
 create mode 100644 tools/tracing/rtla/tests/unit/Build
 create mode 100644 tools/tracing/rtla/tests/unit/Makefile.unit
 create mode 100644 tools/tracing/rtla/tests/unit/unit_tests.c

-- 
2.52.0


Reply via email to