mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 19:47:47 +03:00
Supports WarningCountingShellCommand in cppcheck and vera
WarningCountingShellCommand allow us to have some measurements on the buildbot waterfall.
This commit is contained in:
@@ -37,10 +37,12 @@ test-regression:
|
|||||||
(cd tests && $(MAKE) test-regression)
|
(cd tests && $(MAKE) test-regression)
|
||||||
|
|
||||||
cppcheck:
|
cppcheck:
|
||||||
cppcheck . --enable=all --force
|
cppcheck . --enable=all --force 2>&1 1>&3 | sed 's/^/warning: /g' 1>&2;
|
||||||
|
|
||||||
check-coding-style:
|
check-coding-style:
|
||||||
vera++ -rule L004 -param max-line-length=80 `(find . -iname "*.c" ; find . -iname "*.h") | xargs`
|
for i in `(find . -iname "*.c" ; find . -iname "*.h")`; \
|
||||||
vera++ -rule L001 `(find . -iname "*.c" ; find . -iname "*.h") | xargs`
|
do vera++ -rule L004 -param max-line-length=80 $$i 2>&1 1>&3 | sed 's/^/warning: /g' 1>&2; \
|
||||||
|
vera++ -rule L001 $$i 2>&1 1>&3 | sed 's/^/warning: /g' 1>&2; \
|
||||||
|
done;
|
||||||
|
|
||||||
.PHONY: test
|
.PHONY: test
|
||||||
|
Reference in New Issue
Block a user