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:
Akos Kiss
2018-08-09 10:12:18 +02:00
committed by László Langó
parent f6b99b60d2
commit 3fd7e98d53
+1
View File
@@ -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 \