]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Capture scripts for Coverity Scan analysis
authorMichal Nowak <mnowak@isc.org>
Thu, 10 Feb 2022 10:05:46 +0000 (11:05 +0100)
committerMichal Nowak <mnowak@isc.org>
Tue, 14 Jun 2022 12:25:04 +0000 (14:25 +0200)
With the recent Coverity Scan 2021.12 version, Python 3 scripts are
being analyzed in addition to C files. The --fs-capture-search option
scripts for Coverity Scan analysis should be added to leverage this
feature.

(cherry picked from commit b4a2674d98902983e8096c99b747343482d30673)

.gitlab-ci.yml

index ea7231c22e85e520620e018d9b29a89a56742968..ea52a742339275accee8770e2f29982e6061c66e 100644 (file)
@@ -1264,7 +1264,7 @@ release:
   - test -d /tmp/cov-analysis-linux64-2021.12.1
 
 .coverity_build: &coverity_build
-  - /tmp/cov-analysis-linux64-2021.12.1/bin/cov-build --dir /tmp/cov-int sh -c 'make -j${BUILD_PARALLEL_JOBS:-1} -k all V=1'
+  - /tmp/cov-analysis-linux64-2021.12.1/bin/cov-build --dir /tmp/cov-int --fs-capture-search . sh -c 'make -j${BUILD_PARALLEL_JOBS:-1} -k all V=1'
   - tar --create --gzip --file=/tmp/cov-int.tar.gz --directory /tmp cov-int
   - curl -v https://scan.coverity.com/builds?project=$COVERITY_SCAN_PROJECT_NAME
         --form token=$COVERITY_SCAN_TOKEN