Adding a scan-build command
scan-build http://clang-analyzer.llvm.org/scan-build.html is a clang based tool designed to provide static analysis over C code files.
This commit is contained in:
parent
6fb7dd238e
commit
a069f8f73d
|
@ -47,3 +47,5 @@ cooja: $(CONTIKI)/tools/cooja/dist/cooja.jar
|
|||
$(CONTIKI)/tools/cooja/dist/cooja.jar:
|
||||
(cd $(CONTIKI)/tools/cooja; ant jar)
|
||||
|
||||
scan-build:
|
||||
cd scan_build && scan-build $(MAKE)
|
||||
|
|
16
regression-tests/scan_build/Makefile
Normal file
16
regression-tests/scan_build/Makefile
Normal file
|
@ -0,0 +1,16 @@
|
|||
EXAMPLESDIR=../../examples
|
||||
TOOLSDIR=../../tools
|
||||
|
||||
EXAMPLES = \
|
||||
hello-world/minimal-net \
|
||||
hello-world/native \
|
||||
eeprom-test/native \
|
||||
example-shell/native \
|
||||
tcp-socket/minimal-net \
|
||||
telnet-server/minimal-net \
|
||||
webserver/minimal-net \
|
||||
wget/minimal-net \
|
||||
|
||||
TOOLS=
|
||||
|
||||
include ../Makefile.compile-test
|
Loading…
Reference in a new issue