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

--=_alternative 0046349FC2257873_=
Content-Type: text/html; charset="US-ASCII"

<font size=2 face="sans-serif">Hi</font>
<br>
<br><font size=2 face="sans-serif">This doesn't seem to be very easy, fun
or well documented.</font>
<br>
<br><font size=2 face="sans-serif">I'v resolved to looking aroung the CTest
source code to see what is going on.</font>
<br>
<br><font size=2 face="sans-serif">From what I'v found out, there seems
to be some syntax to what the defect list contains!</font>
<br>
<br><font size=2 face="sans-serif">&lt;DefectList&gt;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &lt;Defect Type=&quot;mysteryXXXX&quot;/&gt;</font>
<br><font size=2 face="sans-serif">&lt;DefectList&gt;</font>
<br>
<br><font size=2 face="sans-serif">I'm not certain if this is the easy
way through, but it's the only way i see possible at the moment.</font>
<br>
<br><font size=2 face="sans-serif">I think i need to create my own program
which eats program output and poops DynamicAnalysis.xml files.</font>
<br>
<br><font size=2 face="sans-serif">Perhaps i'll even add some way of configuration
to it.</font>
<br>
<br><font size=2 face="sans-serif">-mika</font>
<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">cmake 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">14.04.2011 09:11</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Subject: &nbsp; &nbsp;
&nbsp; &nbsp;</font><font size=1 face="sans-serif">[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>
I'm trying to integrate custom tools to CDash Dynamic analysis.</font><font size=3>
<br>
</font><font size=2 face="sans-serif"><br>
I'm not that certain on what is the way I should be going.</font><font size=3>
<br>
</font><font size=2 face="sans-serif"><br>
Is there a way to tell cmake to pick up lines from a program as defects
in the custom tool submission xml?</font><font size=3> <br>
</font><font size=2 face="sans-serif"><br>
Do i need to make a program that generates a valid xml file?</font><font size=3>
<br>
</font><font size=2 face="sans-serif"><br>
If so, where do I find the documentation on how to do it?</font><font size=3>
<br>
</font><font size=2 face="sans-serif"><br>
I downloaded the example XML files from </font><a href=http://www.itk.org/Wiki/CDash:XML><font size=2 color=blue face="sans-serif"><u>http://www.itk.org/Wiki/CDash:XML</u></font></a><font size=3>
<br>
</font><font size=2 face="sans-serif"><br>
here is a part of it </font><font size=3><br>
</font><font size=3 face="Courier New"><br>
 </font><font size=3>&nbsp;&lt;Results /&gt; </font><font size=3 face="Courier New"><br>
 </font><font size=3>&nbsp;&lt;Log /&gt; </font><font size=3 face="Courier New"><br>
 </font><font size=3>&nbsp;&lt;/Test&gt; </font><font size=3 face="Courier New"><br>
 </font><font size=3>&nbsp;&lt;DefectList /&gt; </font><font size=3 face="Courier New"><br>
 </font><font size=3>&nbsp;&lt;EndDateTime&gt;Sep 15 19:36 CEST&lt;/EndDateTime&gt;
</font><font size=3 face="Courier New"><br>
 </font><font size=3>&nbsp;&lt;ElapsedMinutes&gt;644.3&lt;/ElapsedMinutes&gt;
</font><font size=3 face="Courier New"><br>
 </font><font size=3>&nbsp;&lt;/DynamicAnalysis&gt; </font><font size=3 face="Courier New"><br>
 </font><font size=3>&nbsp;&lt;/Site&gt; <br>
</font><font size=2 face="sans-serif"><br>
I think that I should modify the part &quot;DefectList&quot;.</font><font size=3>
</font><font size=2 face="sans-serif"><br>
But this file doesn't give much information on what to do.</font><font size=3>
<br>
</font><font size=2 face="sans-serif"><br>
There was a XML Schema file as well, but it wasn't of much use.</font><font size=3>
<br>
</font><font size=2 face="Courier New"><br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;/xs:element&gt;</font><font size=3>
</font><font size=2 face="Courier New"><br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;xs:element name=&quot;DefectList&quot;
type=&quot;xs:string&quot; minOccurs=&quot;0&quot; /&gt;</font><font size=3>
</font><font size=2 face="Courier New"><br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;xs:element name=&quot;EndDateTime&quot;
type=&quot;xs:string&quot; minOccurs=&quot;0&quot; /&gt;</font><font size=3>
</font><font size=2 face="Courier New"><br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;xs:element name=&quot;ElapsedMinutes&quot;
type=&quot;xs:float&quot; minOccurs=&quot;0&quot; /&gt;</font><font size=3>
</font><font size=2 face="Courier New"><br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/xs:sequence&gt;</font><font size=3>
<br>
</font><font size=2 face="sans-serif"><br>
-mika</font><tt><font size=2>_______________________________________________<br>
Powered by </font></tt><a href=www.kitware.com><tt><font size=2>www.kitware.com</font></tt></a><tt><font size=2><br>
<br>
Visit other Kitware open-source projects at </font></tt><a href=http://www.kitware.com/opensource/opensource.html><tt><font size=2>http://www.kitware.com/opensource/opensource.html</font></tt></a><tt><font size=2><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: </font></tt><a href=http://www.cmake.org/Wiki/CMake_FAQ><tt><font size=2>http://www.cmake.org/Wiki/CMake_FAQ</font></tt></a><tt><font size=2><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
</font></tt><a href=http://www.cmake.org/mailman/listinfo/cmake><tt><font size=2>http://www.cmake.org/mailman/listinfo/cmake</font></tt></a>
<br>
--=_alternative 0046349FC2257873_=--


More information about the CMake mailing list