From dac2b4d171fe9ee538bfccad5d0cdee7ff78ef35 Mon Sep 17 00:00:00 2001 From: dzid26 Date: Mon, 10 Jun 2024 14:29:12 +0100 Subject: [PATCH] suppress interrupt_handlers also in mutation test --- tests/misra/.gitignore | 2 -- tests/misra/suppressions.txt | 2 +- tests/misra/test_mutation.py | 4 ++++ 3 files changed, 5 insertions(+), 3 deletions(-) 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',