[cfe-dev] Need to know where scan-build stores the report

Häber, Andreas A.Haeber at telekom.de
Fri Feb 19 09:42:27 PST 2010


Hi,

I wonder what's the requirement in scan-build for outputting reports to $directory/year-month-day-runnumber (where $directory is the -o argument). IMHO it is easier and better to simply use whatever directory the user specifies and if the directory already exists fail. This way a build script can better control where the report ends up and can point to it later. Currently build scripts are forced to calculate the output directory in the same fashion as scan-build does, which isn't always possible.

I've attached a diff for scan-build where I've rem <<scan-build.diff>> oved the code that generates these directories, so it will simply use the -o argument.

But because I don't know the requirements for the existing directory scheme I wonder whether this patch will cause something else to fail. Does anyone here have any idea?

Best regards,
Andreas Häber
-- 
Deutsche Telekom AG
Landgrabenweg 151, 53229 Bonn

Andreas Häber
Product Development, Application Solutions
+49 228 936-33331 (Tel)
E-Mail: a.haeber at telekom.de
http://www.telekom.de/
Life is for sharing.


T-Mobile Deutschland GmbH
Aufsichtsrat: Timotheus Höttges (Vorsitzender)
Geschäftsführung: Niek Jan van Damme (Sprecher), Thomas Berlemann, Thomas Dannenfeldt, Albert Henn,
Dr. Christian P. Illek, Dr. Bruno Jacobfeuerborn, Dr. Dirk Rohweder 
Handelsregister: Amtsgericht Bonn, HRB 59 19
Sitz der Gesellschaft: Bonn
WEEE-Reg.-Nr.: DE60800328
-------------- next part --------------
A non-text attachment was scrubbed...
Name: scan-build.diff
Type: application/octet-stream
Size: 2473 bytes
Desc: scan-build.diff
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20100219/940c77f5/attachment.obj>


More information about the cfe-dev mailing list