Add coverity target to build coverity analysis and upload to coverity server for online analysis
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13890 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
684bd8e472
commit
51a1aa5b1a
1 changed files with 14 additions and 0 deletions
14
Makefile.in
14
Makefile.in
|
|
@ -523,4 +523,18 @@ $(srcdir)/configure: $(srcdir)/configure.in
|
||||||
cd $(srcdir) && ./autogen.sh
|
cd $(srcdir) && ./autogen.sh
|
||||||
$(SHELL) ./config.status --recheck
|
$(SHELL) ./config.status --recheck
|
||||||
|
|
||||||
|
############################################################################
|
||||||
|
# Tools
|
||||||
|
############################################################################
|
||||||
|
|
||||||
|
# Coverity static code analyser build and submit - EMAIL and PASSWORD need specifying
|
||||||
|
# See http://scan.coverity.com/start/
|
||||||
|
EMAIL=wsf@fultondesigns.co.uk
|
||||||
|
PASSWORD=
|
||||||
|
coverity:
|
||||||
|
$(MAKE) clean-source
|
||||||
|
cov-build --dir cov-int $(MAKE)
|
||||||
|
tar czvf swig-coverity.tgz cov-int
|
||||||
|
curl --form file=@swig-coverity.tgz --form project=swig --form password=$(PASSWORD) --form email=$(EMAIL) http://scan5.coverity.com/cgi-bin/upload.py
|
||||||
|
|
||||||
# Makefile ends here
|
# Makefile ends here
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue