* Add support for inline cppcheck suppressions * Clean out all known cppcheck issues * Terminate toll-gate on found cppcheck issues
16 lines
635 B
Bash
Executable File
16 lines
635 B
Bash
Executable File
#!/bin/bash
|
|
|
|
OPTIONS="--quiet \
|
|
--error-exitcode=1 \
|
|
--force \
|
|
--enable=style,information \
|
|
-DCPPCHECK \
|
|
--language=c++ \
|
|
--library=${LIBRARY:-avr} \
|
|
--platform="${TOOLCONFIG}"/${PLATFORM:-avr.xml} \
|
|
--includes-file="${TOOLCONFIG}"/includes.cfg \
|
|
--inline-suppr \
|
|
--suppressions-list="${TOOLCONFIG}"/suppressions.cfg"
|
|
|
|
echo $OPTIONS
|