Question

Coverity offers a free scanning service for free and open source projects (http://scan.coverity.com). I'm trying to configure a project for a scan according to Download Coverity Scan Self-Build. From their web page:

For each build:

  1. cd to your build directory

  2. optional: Run any build steps that you don't want to analyze – i.e. ./configure

  3. cov-build --dir cov-int [BUILD CMD and ARGS]

I have three questions:

  • Is make considered a build script for these purposes? Or is it part of [BUILD CMD and ARGS]

  • Does their build slave include libraries such as Boost? We have an [undesired] dependency on the library

  • What configuration does the scanning service want? Debug, Test, or Release?

Was it helpful?

Solution

  • Is make considered a build script for these purposes? Or is it part of [BUILD CMD and ARGS]

Yes! simply use make as BUILD CMD. Alternatively ant, cmake, whatever your build system is based on.

  • Does their build slave include libraries such as Boost? We have an [undesired] dependency on the library

You may configure this rule

  • What configuration does the scanning service want? Debug, Test, or Release?

Doesn't matter, you can scan any configuration you want.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top