No subject


Sun Apr 3 09:54:08 EDT 2011


list contains! 

<DefectList> 
  <Defect Type="mysteryXXXX"/> 
<DefectList> 

I'm not certain if this is the easy way through, but it's the only way i 
see possible at the moment. 

I think i need to create my own program which eats program output and 
poops DynamicAnalysis.xml files. 

Perhaps i'll even add some way of configuration to it. 

-mika 



From:        Mika.Rajala at patria.fi 
To:        cmake at cmake.org 
Date:        14.04.2011 09:11 
Subject:        [CMake] CDash Dynamic Analysis 
Sent by:        cmake-bounces at cmake.org 



Hi 

I'm trying to integrate custom tools to CDash Dynamic analysis. 

I'm not that certain on what is the way I should be going. 

Is there a way to tell cmake to pick up lines from a program as defects in 
the custom tool submission xml? 

Do i need to make a program that generates a valid xml file? 

If so, where do I find the documentation on how to do it? 

I downloaded the example XML files from http://www.itk.org/Wiki/CDash:XML 

here is a part of it 

<Results /> 
<Log /> 
</Test> 
<DefectList /> 
<EndDateTime>Sep 15 19:36 CEST</EndDateTime> 
<ElapsedMinutes>644.3</ElapsedMinutes> 
</DynamicAnalysis> 
</Site> 

I think that I should modify the part "DefectList". 
But this file doesn't give much information on what to do. 

There was a XML Schema file as well, but it wasn't of much use. 

           </xs:element> 
        <xs:element name="DefectList" type="xs:string" minOccurs="0" /> 
        <xs:element name="EndDateTime" type="xs:string" minOccurs="0" /> 
        <xs:element name="ElapsedMinutes" type="xs:float" minOccurs="0" /> 

        </xs:sequence> 

-mika_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake 
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake 
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake 
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

--=_alternative 00257CEEC2257884_=
Content-Type: text/html; charset="US-ASCII"

<font size=2 face="sans-serif">Hi</font>
<br>
<br><font size=2 face="sans-serif">Am I asking my questions in the wrong
place?</font>
<br>
<br><font size=2 face="sans-serif">Is my question stupid and/or I should
find answers from documentation / internet?</font>
<br>
<br><font size=2 face="sans-serif">-mika</font>
<br>
<br>
<br>
<br>
<br><font size=1 color=#5f5f5f face="sans-serif">From: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font size=1 face="sans-serif">Mika.Rajala at patria.fi</font>
<br><font size=1 color=#5f5f5f face="sans-serif">To: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font size=1 face="sans-serif">Mika.Rajala at patria.fi</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Cc: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font size=1 face="sans-serif">cmake at cmake.org, cmake-bounces at cmake.org</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Date: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font size=1 face="sans-serif">28.04.2011 07:50</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Subject: &nbsp; &nbsp;
&nbsp; &nbsp;</font><font size=1 face="sans-serif">Re: [CMake]
CDash Dynamic Analysis</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Sent by: &nbsp; &nbsp;
&nbsp; &nbsp;</font><font size=1 face="sans-serif">cmake-bounces at cmake.org</font>
<br>
<hr noshade>
<br>
<br>
<br><font size=2 face="sans-serif">Hi</font><font size=3> <br>
</font><font size=2 face="sans-serif"><br>
Another update and a question</font><font size=3> <br>
</font><font size=2 face="sans-serif"><br>
I'v reverse engineered and hacked the CDash/CMake/CTest code a bit to see
how it works.</font><font size=3> <br>
</font><font size=2 face="sans-serif"><br>
I'v now come to the conclusion that the best way to handle custom tools
(style checks, static code analysis) is to use custom builds and custom
build groups</font><font size=3> <br>
</font><font size=2 face="sans-serif"><br>
The issue I currently have is this:</font><font size=3> <br>
</font><font size=2 face="sans-serif"><br>
How to generate a custom &quot;Build.xml&quot; file for CDash, based on
output of a program?</font><font size=3> <br>
</font><font size=2 face="sans-serif"><br>
The extreme solution I see is to make my own executable that generates
a &quot;Build.xml&quot; file as output.</font><font size=3> <br>
</font><font size=2 face="sans-serif"><br>
What I'd like to do is to tell CTest to pick up &nbsp;errors / warnings
&nbsp;from line that match with a regular expression i give.</font><font size=3>
<br>
</font><font size=2 face="sans-serif"><br>
What would be the best way to do this?</font><font size=3> <br>
</font><font size=2 face="sans-serif"><br>
-mika</font><font size=3> <br>
<br>
<br>
<br>
</font><font size=1 color=#5f5f5f face="sans-serif"><br>
From: &nbsp; &nbsp; &nbsp; &nbsp;</font><font size=1 face="sans-serif">Mika.Rajala at patria.fi</font><font size=3>
</font><font size=1 color=#5f5f5f face="sans-serif"><br>
To: &nbsp; &nbsp; &nbsp; &nbsp;</font><font size=1 face="sans-serif">Mika.Rajala at patria.fi</font><font size=3>
</font><font size=1 color=#5f5f5f face="sans-serif"><br>
Cc: &nbsp; &nbsp; &nbsp; &nbsp;</font><font size=1 face="sans-serif">cmake at cmake.org,
cmake-bounces at cmake.org</font><font size=3> </font><font size=1 color=#5f5f5f face="sans-serif"><br>
Date: &nbsp; &nbsp; &nbsp; &nbsp;</font><font size=1 face="sans-serif">21.04.2011
09:54</font><font size=3> </font><font size=1 color=#5f5f5f face="sans-serif"><br>
Subject: &nbsp; &nbsp; &nbsp; &nbsp;</font><font size=1 face="sans-serif">Re:
[CMake] CDash Dynamic Analysis</font><font size=3> </font><font size=1 color=#5f5f5f face="sans-serif"><br>
Sent by: &nbsp; &nbsp; &nbsp; &nbsp;</font><font size=1 face="sans-serif">cmake-bounces at cmake.org</font><font size=3>
<br>
</font>
<hr noshade><font size=3><br>
<br>
</font><font size=2 face="sans-serif"><br>
Hi</font><font size=3> </font><font size=2 face="sans-serif"><br>
<br>
I went for the custom DynamicAnalysis.xml thing</font><font size=3> </font><font size=2 face="sans-serif"><br>
<br>
I think I figured out what the file should contain.</font><font size=3>
</font><font size=2 face="sans-serif"><br>
<br>
There is a slight problem however.</font><font size=3> </font><font size=2 face="sans-serif"><br>
<br>
The Labels in the defect list of CDash are that of some other tool</font><font size=3>
</font><font size=2 face="sans-serif"><br>
<br>
How do I change them?</font><font size=3> </font><font size=2 face="sans-serif"><br>
<br>
-mika</font><font size=3> <br>
<br>
</font><font size=1 color=#5f5f5f face="sans-serif"><br>
<br>
From: &nbsp; &nbsp; &nbsp; &nbsp;</font><font size=1 face="sans-serif">Mika.Rajala at patria.fi</font><font size=3>
</font><font size=1 color=#5f5f5f face="sans-serif"><br>
To: &nbsp; &nbsp; &nbsp; &nbsp;</font><font size=1 face="sans-serif">Mika.Rajala at patria.fi</font><font size=3>
</font><font size=1 color=#5f5f5f face="sans-serif"><br>
Cc: &nbsp; &nbsp; &nbsp; &nbsp;</font><font size=1 face="sans-serif">cmake at cmake.org,
cmake-bounces at cmake.org</font><font size=3> </font><font size=1 color=#5f5f5f face="sans-serif"><br>
Date: &nbsp; &nbsp; &nbsp; &nbsp;</font><font size=1 face="sans-serif">15.04.2011
15:47</font><font size=3> </font><font size=1 color=#5f5f5f face="sans-serif"><br>
Subject: &nbsp; &nbsp; &nbsp; &nbsp;</font><font size=1 face="sans-serif">Re:
[CMake] CDash Dynamic Analysis</font><font size=3> </font><font size=1 color=#5f5f5f face="sans-serif"><br>
Sent by: &nbsp; &nbsp; &nbsp; &nbsp;</font><font size=1 face="sans-serif">cmake-bounces at cmake.org</font><font size=3>
<br>
</font>
<hr noshade><font size=3><br>
</font><font size=2 face="sans-serif"><br>
<br>
Hi</font><font size=3> </font><font size=2 face="sans-serif"><br>
<br>
This doesn't seem to be very easy, fun or well documented.</font><font size=3>
</font><font size=2 face="sans-serif"><br>
<br>
I'v resolved to looking aroung the CTest source code to see what is going
on.</font><font size=3> </font><font size=2 face="sans-serif"><br>
<br>


More information about the CMake mailing list