[Cdash] KWStyle checking + CDash submission

Julien Jomier julien.jomier at kitware.com
Wed Feb 10 16:37:26 UTC 2010

Hi Olivier,

The current implementation of KWStyle is not supported very well in 
CDash (it was implement for Dart a long time ago). Therefore the HTML 
generation is not working and you won't be able to see the annotated 
code in CDash (like coverage for instance), but you will get style 
errors as build errors. (The way it used to work is that KWStyle will 
send links to web pages for Dart to display them).

That being said, we are working on implementing full support for KWStyle 
in CDash and have KWStyle generate XML files that will be parsed and 
displayed correctly by CDash. I would expect this to happen in the near 

Regarding the group, we usually create a "Style" group to make it more 
clear on the dashboard but it's really up to you.


On 2/10/2010 11:09 AM, Olivier Pierard wrote:
> Dear all,
> I'm a little bit confused with KWStyle configuration for CDash
> submission (as in CMake project, for example).  I'm using cdash 1.6.2,
> CMake/CTest 2.6/2.8 and KWStyle downloaded a couple of weeks ago.
> I'm able to generate the html output locally.  According to the
> documentation, I've to add the -dart and -kwsurl options.  For the
> latter, what is it exactly ?  Just a folder where html pages will be copy ?
> When having a look at the CTest script for CMake style checking (
> http://www.cdash.org/CDash/viewNotes.php?buildid=536092 ), I don't see
> any '-kwsurl' option.  Instead, there is a '-B
> http://public.kitware.com/cgi-bin/viewcvs.cgi'.  What's this URL and
> this '-B' option ?  Maybe related to two different versions of KWStyle ?
> Finally, is there any special configuration for CDash needed, like
> adding a new group ?  I don't understand how CDash will be able to find
> KWStyle URL files and generate a new entry for them ?
> Thank you very much for your answer(s).  By the way, after using CDash
> for one day, I'm already loving it !  Thank you guys for this nice work !
> Olivier

More information about the CDash mailing list