mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-12-09 05:05:17 -05:00
Add queue.c CMock unit test (#552)
* Disregard coverage data without a function_name field set * Fix calling make on subdirectories * Undefine FORTIFY_SOURCE when running without ENABLE_SANITIZERS * Add queue and semaphore unit tests * Update FreeRTOS-Kernel submodule revision
This commit is contained in:
parent
53af0ec62e
commit
7a695784bc
60 changed files with 13147 additions and 135 deletions
|
|
@ -8,7 +8,7 @@ export LD ?= /usr/local/bin/ld
|
|||
|
||||
# Add units here when adding a new unit test directory with the same name
|
||||
UNITS += list
|
||||
#UNITS += queue
|
||||
UNITS += queue
|
||||
#UNITS += timers
|
||||
UNITS += stream_buffer
|
||||
UNITS += message_buffer
|
||||
|
|
@ -111,8 +111,7 @@ $(COVINFO) : $(LCOV_LIST)
|
|||
|
||||
# Generate lcov for each suite
|
||||
$(LCOV_LIST) : zero_coverage
|
||||
$(foreach unit,$(UNITS),\
|
||||
make -C $(unit) lcov;)
|
||||
make -C $(subst .info,,$(@F)) lcov
|
||||
|
||||
lcovhtml : $(COVINFO)
|
||||
mkdir -p $(COVERAGE_DIR)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue