Clean up CMock makefiles and add coverage filtering (#523)

* Cleanup Makefiles

* Add lcovrc configuration file

* Add CMock test build directory to .gitignore

* Add callgraph.py and filtercov.py scripts

* Cleanup list Makefile and update list_utest.c with coverage tags

* Add information about coverage filtering and running single test cases

* Remove -fprofile-exclude-files for compatibility with older versions of gcc.
Fix line endings (change to unix style)

* Lint callgraph.py and filtercov.py. Print and error when no target functions are defined.

* Indent with spaces when possible

* Replace tabs with spaces and enable .RECIPEPREFIX

* Add fake_port.h and related portmacro.h changes

* Fix list makefile when bin directory is not available

* Clean up grouped rules

* Update makesfile.. Add "two_tests" example dir

* Fix memory checker error

* Move common makefile items to subdir.mk and testdir.mk includes

* Update core_checker.py exclusions

* Remove line from portmacro.h that doesn't match core_checker.py
This commit is contained in:
Paul Bartell 2021-03-15 17:01:29 -07:00 committed by GitHub
parent c8fa483b68
commit d7e5f40885
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 1110 additions and 329 deletions

View file

@ -175,6 +175,7 @@ FREERTOS_IGNORED_EXTENSIONS = [
'.properties',
'.ps1',
'.ptf',
'.py',
'.r79',
'.rapp',
'.rc',
@ -263,7 +264,8 @@ FREERTOS_IGNORED_FILES = [
'mbedtls_config.h',
'requirements.txt',
'run-cbmc-proofs.py',
'.editorconfig'
'.editorconfig',
'lcovrc'
]
FREERTOS_HEADER = [