Преглед изворни кода

Add coverity target to corosync makefile.am

Allow a make coverity target for those developers with coverity tools
available to them.

Signed-off-by: Steven Dake <sdake@redhat.com>
Reviewed-by: Angus Salkeld <asalkeld@redhat.com>
Steven Dake пре 15 година
родитељ
комит
0008c578e8
1 измењених фајлова са 5 додато и 0 уклоњено
  1. 5 0
      Makefile.am

+ 5 - 0
Makefile.am

@@ -57,6 +57,11 @@ corosysconf_DATA	= conf/corosync.conf.example \
 SUBDIRS			= include lcr lib exec services tools test pkgconfig \
 			  man init
 
+coverity:
+	cov-build --dir=cov make
+	cov-analyze --dir cov
+	cov-format-errors --dir cov
+
 install-exec-local:
 	$(INSTALL) -d $(DESTDIR)/${COROSYSCONFDIR}/service.d
 	$(INSTALL) -d $(DESTDIR)/${COROSYSCONFDIR}/uidgid.d