[Buildbot-devel] Integrate Coverity static analysis tool into BuildBot

Tom Prince tom.prince at ualberta.net
Tue Nov 6 19:25:47 UTC 2012


Sarah Addis <sarahaddis3 at gmail.com> writes:

> factory.addStep(Compile(command="cov-build --dir ../dirname make all"))

The preferred form would be:

factory.addStep(Compile(command=["cov-build", "--dir", "../dirname", "make", "all"))

which doesn't use the shell.

> This breaks the build with the following output:
>
> /bin/sh: cov-build: command not found

Well, where is the cov-build program found, and is it in the PATH?

As long as it can be run as a program, there shouldn't be any problem
running coverty scans in buildbot. A quick look at the documentation I
could find for 'cov-build' suggests that it actually just generates a
tarball to upload, and that the analysis and reports are handled
elsewhere.

  Tom






More information about the devel mailing list