fixed cfg tests (#5843)
This commit is contained in:
parent
028596f100
commit
bd9700b848
|
@ -125,9 +125,9 @@ if (BUILD_TESTS)
|
|||
--error-exitcode=1
|
||||
--disable=missingInclude
|
||||
--inline-suppr
|
||||
--template="{file}:{line}:{severity}:{id}:{message}"
|
||||
--debug-warnings
|
||||
--suppress=valueFlowBailout
|
||||
--suppress=purgedConfiguration
|
||||
--suppress=unmatchedSuppression
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/cfg/${CFG_TEST}
|
||||
)
|
||||
|
|
|
@ -27,7 +27,7 @@ CFG="$DIR"../../cfg/
|
|||
# TODO: remove missingInclude disabling when it no longer is implied by --enable=information
|
||||
# Cppcheck options
|
||||
# need to suppress unmatchedSuppression in case valueFlowBailout is not reported
|
||||
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'
|
||||
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'
|
||||
|
||||
# Compiler settings
|
||||
CXX=g++
|
||||
|
|
Loading…
Reference in New Issue