Make cppcheck print diagnostics only (#2456)
The progress messages of cppcheck produce a lengthy and verbose log, making errors and warnings hard to find. This patch adds `--quiet` to the invocation of `cppcheck` Additionally, the patch relayouts the script to use a consistent two-spaces indentation everywhere. JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
This commit is contained in:
@@ -37,6 +37,7 @@ done
|
|||||||
|
|
||||||
cppcheck -j$CPPCHECK_JOBS --force \
|
cppcheck -j$CPPCHECK_JOBS --force \
|
||||||
--language=c --std=c99 \
|
--language=c --std=c99 \
|
||||||
|
--quiet \
|
||||||
--enable=warning,style,performance,portability,information \
|
--enable=warning,style,performance,portability,information \
|
||||||
--template="{file}:{line}: {severity}({id}): {message}" \
|
--template="{file}:{line}: {severity}({id}): {message}" \
|
||||||
--error-exitcode=1 \
|
--error-exitcode=1 \
|
||||||
|
|||||||
Reference in New Issue
Block a user