|
@@ -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:
|