mirror of
https://github.com/FreeRTOS/FreeRTOS.git
synced 2025-06-18 22:33:36 +08:00
Add unity memory extension, fake_assert, and enable -fsanitize=address (#506)
* Enable libunitymemory extension to track dynamic memory usage during unit tests * Use UnityMemory in timers_utest.c * Add fake_assert.h to allow mocking of configASSERT calls * Add .editorconfig to make github show indentation correctly * Add unity memory and fake_assert to queue_utest.c * Add -fsanitize=address CFLAG when running unit tests * Define mtCOVERAGE_TEST_MARKER macro to include mtCOVERAGE_TEST_MARKER lines in coverage figures * Add additional memory check / protection CFLAGS for CMock tests * Fix out of bounds array access in list_utest.c * Move the fake_assert.h include to the top of FreeRTOSConfig.h
This commit is contained in:
5
.github/scripts/core_checker.py
vendored
5
.github/scripts/core_checker.py
vendored
@ -255,14 +255,15 @@ FREERTOS_IGNORED_PATTERNS = [
|
||||
r'.*/Makefile',
|
||||
r'.*/trcConfig\.h.*',
|
||||
r'.*/trcConfig\.c.*',
|
||||
r'.*/trcSnapshotConfig\.h.*',
|
||||
r'.*/trcSnapshotConfig\.h.*'
|
||||
]
|
||||
|
||||
FREERTOS_IGNORED_FILES = [
|
||||
'fyi-another-way-to-ignore-file.txt',
|
||||
'mbedtls_config.h',
|
||||
'requirements.txt',
|
||||
'run-cbmc-proofs.py'
|
||||
'run-cbmc-proofs.py',
|
||||
'.editorconfig'
|
||||
]
|
||||
|
||||
FREERTOS_HEADER = [
|
||||
|
Reference in New Issue
Block a user