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

List:       kde-devel
Subject:    Re: configuring cppcheck on the CI
From:       Milian Wolff <mail () milianw ! de>
Date:       2015-01-28 15:59:15
Message-ID: 355639488.W8XmsoE8FG () milian-kdab2
[Download RAW message or body]

On Wednesday 28 January 2015 11:47:37 Ben Cooksley wrote:
> 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=eda27c0bb
> cd26d4d124c15b082f09169b95c962b
> 
> 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.

OK, can you tell me how to tweak cppcheckExtraArgs for individual projects, 
e.g. kdevplatform for now?

Bye
-- 
Milian Wolff
mail@milianw.de
http://milianw.de

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