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:
Paul Bartell 2021-04-20 15:45:52 -07:00 committed by GitHub
parent 53af0ec62e
commit 7a695784bc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
60 changed files with 13147 additions and 135 deletions

View file

@ -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)