[cfe-dev] Need to know where scan-build stores the report
A.Haeber at telekom.de
Fri Feb 19 09:42:27 PST 2010
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?
Deutsche Telekom AG
Landgrabenweg 151, 53229 Bonn
Product Development, Application Solutions
+49 228 936-33331 (Tel)
E-Mail: a.haeber at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2473 bytes
More information about the cfe-dev