added cppcheck call - requires cppcheck > 1.88

This commit is contained in:
prozessorkern 2019-08-04 23:17:15 +02:00
parent 33e4e20474
commit af8fea78da

View File

@ -69,6 +69,12 @@ help:
test: unittest integrationtest test: unittest integrationtest
cppcheck:
- @mkdir -p output/cppcheck/html
cppcheck --addon=/usr/bin/misra.py --enable=all --template=gcc --cppcheck-build-dir=output/cppcheck $(SOURCES)
cppcheck --addon=/usr/bin/misra.py --enable=all --template=gcc --cppcheck-build-dir=output/cppcheck $(SOURCES) --xml 2>output/cppcheck/cppcheck.xml
cppcheck-htmlreport --file=output/cppcheck/cppcheck.xml --title="Shellmatta" --report-dir=output/cppcheck/html
unittest: $(UNITTEST_TARGET) unittest: $(UNITTEST_TARGET)
- @mkdir -p output/test/unittest/report - @mkdir -p output/test/unittest/report
@echo running test: @echo running test: