testing: use inline cppcheck suppressions for libsynthesis

cppcheck 1.65 finds several false positives which are easier
to handle with inline suppressions.
This commit is contained in:
Patrick Ohly 2014-07-01 02:06:10 -07:00
parent 1f9d7b5979
commit 5aee365225
1 changed files with 2 additions and 0 deletions

View File

@ -1317,6 +1317,8 @@ if options.sourcedir:
# http://sourceforge.net/apps/trac/cppcheck/ticket/5316:
# Happens with cppcheck 1.61: Analysis failed. If the code is valid then please report this failure.
"--suppress=cppcheckError:*/localengineds.cpp",
# We use inline suppressions for some errors.
'--inline-suppr',
]))
# Be more specific about which sources we check. We are not interested in
# pcre and expat, for example.