Commit 8ae76511 authored by Ben Avison's avatar Ben Avison
Browse files

Temporarily insert "git checkout" to bring in test XML file

parent 86bb9d72
Pipeline #3509 passed with stage
in 3 seconds
......@@ -577,6 +577,7 @@ BEGIN {
# The only way to tell cppcheck to suppress unusedFunction warnings by symbol name (rather than
# globally, by file, or file and line number) is to pass it an XML file. We generate suitable XML
# during "make standalone" above, with a standardised filename, so if it exists, use it.
print " - git checkout -f objs" >> out
print " - CMHG_XML=$(test -f objs/cmhg-cppcheck-suppress.xml && echo --suppress-xml=objs/cmhg-cppcheck-suppress.xml || true)" >> out
# Enable all warnings except those marked inline, plus shiftNegativeLHS (used in _swix macros and
# therefore ubiquitous) and purgedConfiguration (we don't care if a build switch has no effect).
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment