QA: Avoids the utilization of 3rd filedescriptor

No need to use a 3rd description on the quality check scripts.
Stderr is now redirected to stdout and filtered as needed.
This commit is contained in:
Felipe Zimmerle 2013-12-04 08:22:39 -08:00
parent baaf502363
commit 69c5ccac66

View File

@ -37,12 +37,13 @@ test-regression:
(cd tests && $(MAKE) test-regression)
cppcheck:
cppcheck . --enable=all --force 2>&1 1>&3 | sed 's/^/warning: /g' 1>&2;
cppcheck . --enable=all --force 2>&1 | sed 's/^/warning: /g' 1>&2;
check-coding-style:
for i in `(find . -iname "*.c" ; find . -iname "*.h")`; \
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; \
do echo $$i...; \
vera++ -rule L004 -param max-line-length=80 $$i 2>&1 | sed 's/^/warning: /g' 1>&2; \
vera++ -rule L001 $$i 2>&1 | sed 's/^/warning: /g' 1>&2; \
done;
.PHONY: test