Skip to content

Commit

Permalink
Merge pull request #698 from sieben/scan_build
Browse files Browse the repository at this point in the history
Adding static analysis through the scan-build command
  • Loading branch information
Nicolas Tsiftes committed Nov 28, 2014
2 parents d820fea + a069f8f commit 2a29214
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
2 changes: 2 additions & 0 deletions regression-tests/Makefile
Expand Up @@ -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 changes: 16 additions & 0 deletions regression-tests/scan_build/Makefile
@@ -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

0 comments on commit 2a29214

Please sign in to comment.