From kde-devel Tue Jan 27 22:47:37 2015 From: Ben Cooksley Date: Tue, 27 Jan 2015 22:47:37 +0000 To: kde-devel Subject: Re: configuring cppcheck on the CI Message-Id: X-MARC-Message: https://marc.info/?l=kde-devel&m=142239888728450 On Wed, Jan 28, 2015 at 4:37 AM, Milian Wolff 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 <<