Skip to content

Commit bd9700b

Browse files
authored
fixed cfg tests (#5843)
1 parent 028596f commit bd9700b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

test/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,9 @@ if (BUILD_TESTS)
125125
--error-exitcode=1
126126
--disable=missingInclude
127127
--inline-suppr
128-
--template="{file}:{line}:{severity}:{id}:{message}"
129128
--debug-warnings
130129
--suppress=valueFlowBailout
130+
--suppress=purgedConfiguration
131131
--suppress=unmatchedSuppression
132132
${CMAKE_CURRENT_SOURCE_DIR}/cfg/${CFG_TEST}
133133
)

test/cfg/runtests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ CFG="$DIR"../../cfg/
2727
# TODO: remove missingInclude disabling when it no longer is implied by --enable=information
2828
# Cppcheck options
2929
# need to suppress unmatchedSuppression in case valueFlowBailout is not reported
30-
CPPCHECK_OPT='--check-library --platform=unix64 --enable=style,information --inconclusive --force --error-exitcode=-1 --disable=missingInclude --inline-suppr --template="{file}:{line}:{severity}:{id}:{message}" --debug-warnings --suppress=valueFlowBailout --suppress=unmatchedSuppression'
30+
CPPCHECK_OPT='--check-library --platform=unix64 --enable=style,information --inconclusive --force --error-exitcode=-1 --disable=missingInclude --inline-suppr --template="{file}:{line}:{severity}:{id}:{message}" --debug-warnings --suppress=valueFlowBailout --suppress=purgedConfiguration --suppress=unmatchedSuppression'
3131

3232
# Compiler settings
3333
CXX=g++

0 commit comments

Comments
 (0)