Skip to content

Commit

Permalink
Adding a scan-build command
Browse files Browse the repository at this point in the history
scan-build http://clang-analyzer.llvm.org/scan-build.html is a clang
based tool designed to provide static analysis over C code files.
  • Loading branch information
remyleone committed Oct 21, 2014
1 parent 6fb7dd2 commit a069f8f
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
@@ -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 a069f8f

Please sign in to comment.