]> 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:05:13 +0000 (14:05 +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.

.gitlab-ci.yml

index c2e4c261fb90c26708127ab005c8409201fc6899..523a1f66927f4181d7b836fa45d7e59954f92611 100644 (file)
@@ -1187,7 +1187,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