Merge pull request #698 from sieben/scan_build
Adding static analysis through the scan-build command
This commit is contained in:
commit
2a29214683
|
@ -47,3 +47,5 @@ cooja: $(CONTIKI)/tools/cooja/dist/cooja.jar
|
||||||
$(CONTIKI)/tools/cooja/dist/cooja.jar:
|
$(CONTIKI)/tools/cooja/dist/cooja.jar:
|
||||||
(cd $(CONTIKI)/tools/cooja; ant 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