Makes tests output buildbot friendly

This commit is contained in:
Felipe Zimmerle 2016-07-13 14:45:47 -03:00
parent c0ebd45a68
commit 8d9abfb46b
No known key found for this signature in database
GPG Key ID: E6DFB08CE8B11277

View File

@ -44,20 +44,22 @@ MAINTAINERCLEANFILES = \
ylwrap
cppcheck:
cppcheck \
@cppcheck \
--suppressions-list=./test/cppcheck_suppressions.txt \
--enable=all \
--inconclusive \
--template="{file},{line},{severity},{id},{message}" \
--template="warning: {file},{line},{severity},{id},{message}" \
-U YYSTYPE \
-U YY_USER_INIT \
--std=posix . 2> cppcheck.txt
cat cppcheck.txt
check-static: cppcheck
check-style: check-coding-style
check-coding-style:
-cpplint.py \
@cpplint.py \
$$(find . -name "*.h" -o -name "*.cc" | xargs) 2>&1 \
| egrep -v $$(echo -n "catchall" ; \
for i in $$(cat test/coding_style_suppressions.txt); do echo -n "|"$$i; done) \