[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: configuring cppcheck on the CI
From:       Ben Cooksley <bcooksley () kde ! org>
Date:       2015-01-27 22:47:37
Message-ID: CA+XidOELO5-m_HNonz=w2-Cok6HoZyq2xgnDQj47dJ+fm++bDQ () mail ! gmail ! com
[Download RAW message or body]

On Wed, Jan 28, 2015 at 4:37 AM, Milian Wolff <mail@milianw.de> wrote:
> Hello,

HI Milian,

> 
> not sure where to ask this question. Cppcheck running on the CI is a great
> help - thanks for that! I'd like to configure it slightly though, as the three
> "errors" it reports for kdevplatform are actually false-positives:
> 
> http://build.kde.org/job/kdevplatform_master_qt5/457/cppcheckResult/
> 
> The first two errors are grantlee templates and should be ignored by cppcheck.
> The third is a missing define (where does cppcheck get those from?).

cppcheck is executed per the directives in the CI build script configuration.
Please see http://quickgit.kde.org/?p=websites%2Fbuild-kde-org.git&a=tree&hb=eda27c0bbcd26d4d124c15b082f09169b95c962b


You probably want to see the file config/build/global.cfg, which
defines the commands that all projects use unless extended by
cppcheckExtraArgs or overridden entirely by redefinition of
cppcheckCommand.

> 
> Thanks
> --
> Milian Wolff
> mail@milianw.de
> http://milianw.de

Regards,
Ben

> 
> > > Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

> > Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic