diff --git a/tests/misra/.gitignore b/tests/misra/.gitignore index fc9ac228cb0..4e6a1f2909c 100644 --- a/tests/misra/.gitignore +++ b/tests/misra/.gitignore @@ -1,5 +1,3 @@ *.pdf -*.txt .output.log -new_table cppcheck/ diff --git a/tests/misra/suppressions.txt b/tests/misra/suppressions.txt index 5c0b953b510..4b79e109f5d 100644 --- a/tests/misra/suppressions.txt +++ b/tests/misra/suppressions.txt @@ -13,7 +13,7 @@ misra-c2012-20.10 unmatchedSuppression # All interrupt handlers are defined, including ones we don't use -unusedFunction:*/interrupt_handlers*.h +unusedFunction:*/interrupt_handlers.h # all of the below suppressions are from new checks introduced after updating # cppcheck from 2.5 -> 2.13. they are listed here to separate the update from diff --git a/tests/misra/test_mutation.py b/tests/misra/test_mutation.py index 066ba9ec98f..abcd1d3b7a9 100755 --- a/tests/misra/test_mutation.py +++ b/tests/misra/test_mutation.py @@ -17,6 +17,10 @@ 'board/stm32f4/inc', 'board/fake_stm.h', + # suppresed + 'board/stm32f4/interrupt_handlers.h', + 'board/stm32h7/interrupt_handlers.h', + # bootstub only files 'board/flasher.h', 'board/bootstub.c',