Commit Graph

3 Commits

Author SHA1 Message Date
portersky cd19cc14c0 feat: add Unity color and check target
Enable UNITY_OUTPUT_COLOR and UNITY_INCLUDE_PRINT_FORMATTED via
compile definitions on the unity target so colors propagate to all
test suites automatically.

Add a 'check' custom target that builds all suites and runs CTest
with --output-on-failure and USES_TERMINAL, keeping ANSI colors
alive through Ninja's buffering.
2026-05-09 21:32:58 +02:00
portersky 701c644408 feat: add log levels to logger
Replace log_message with log_debug/info/warn/err and a level filter
controlled by logger_set_level. Extract the printf sink into
log_write so CMock can intercept it in test_logger. Add 9 tests
covering emit and suppression behaviour per level.
2026-05-09 20:43:32 +02:00
portersky bee8424782 Inital commit 2026-05-09 20:32:55 +02:00