瀏覽代碼

Rename make target coverity

Makefile target "coverity" is renamed to coverity-aggressive, and target
coverity is defined as a little less aggressive.

Signed-off-by: Jan Friesse <jfriesse@redhat.com>
Reviewed-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Jan Friesse 13 年之前
父節點
當前提交
135d23376c
共有 1 個文件被更改,包括 11 次插入0 次删除
  1. 11 0
      Makefile.am

+ 11 - 0
Makefile.am

@@ -54,6 +54,17 @@ SUBDIRS			= include common_lib lib exec tools test cts pkgconfig \
 			  man init conf qdevices
 			  man init conf qdevices
 
 
 coverity:
 coverity:
+	rm -rf cov
+	make clean
+	cov-build --dir=cov make
+	cov-analyze --dir cov \
+		    --concurrency \
+		    -co BAD_FREE:allow_first_field:true \
+		    --security \
+		    --wait-for-license
+	cov-format-errors --dir cov
+
+coverity-aggressive:
 	rm -rf cov
 	rm -rf cov
 	make clean
 	make clean
 	cov-build --dir=cov make
 	cov-build --dir=cov make