Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Coverity Scan Setup?

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?

like image 370
jww Avatar asked Jul 20 '13 19:07

jww


1 Answers

  • 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.

like image 66
πάντα ῥεῖ Avatar answered Sep 21 '22 11:09

πάντα ῥεῖ