Skip to content

Commit

Permalink
suppress interrupt_handlers also in mutation test
Browse files Browse the repository at this point in the history
  • Loading branch information
dzid26 committed Jun 10, 2024
1 parent fb9df49 commit dac2b4d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 0 additions & 2 deletions tests/misra/.gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
*.pdf
*.txt
.output.log
new_table
cppcheck/
2 changes: 1 addition & 1 deletion tests/misra/suppressions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions tests/misra/test_mutation.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit dac2b4d

Please sign in to comment.