<div class="gmail_quote">On Tue, Jun 8, 2010 at 4:32 AM, Chris Hillery <span dir="ltr">&lt;<a href="mailto:chillery-cmake@lambda.nu">chillery-cmake@lambda.nu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im"><div class="gmail_quote">On Tue, Jun 8, 2010 at 1:00 AM, Biddiscombe, John A. <span dir="ltr">&lt;<a href="mailto:biddisco@cscs.ch" target="_blank">biddisco@cscs.ch</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">

I&#39;m sure someone has a better answer ... but ...<br>
<div><br>
&gt; I have complete control over the test<br>
&gt; program and can make it output whatever I want.<br>
<br>
</div>Have a look at the XML produced by ctest itself and generate it yourself? then submit it and you should see each test separately<br>
<br>
(Just thinking out loud)<br></blockquote></div><br></div>Yeah, worst case I&#39;ll head down that path. It&#39;s a hairy path though. For instance, I&#39;d still definitely want to run &quot;normal&quot; ctest tests as well, which means the XML would need to be merged in some fashion. Also, it seems like doing it that way opens you up to possible problems later if ctest or cdash change the XML format at all.<br>

<br>All in all it&#39;d be much nicer if there was some kind of hook in ctest which could be used to inform it that a number of tests had been run, and let it populate and submit the XML report based on that information. But, if there&#39;s any way to do that, it&#39;s highly undocumented...<br>
</blockquote><div><br></div><div>It doesn&#39;t appear like there is a class for storing the test results before serializing the XML document to a file.  Sounds like that&#39;s what would have to be written.</div><div><span class="Apple-style-span" style="font-family: monospace; font-size: 12px; color: rgb(170, 34, 170); white-space: pre; "><br>
</span></div><div><span class="Apple-style-span" style="font-family: monospace; font-size: 12px; color: rgb(170, 34, 170); white-space: pre; ">cmCTestTestHandler::GenerateDartOutput</span></div><div><font class="Apple-style-span" color="#AA22AA" face="monospace" size="3"><span class="Apple-style-span" style="font-size: 12px; white-space: pre;"><span class="Apple-style-span" style="color: rgb(0, 0, 0); font-family: arial; white-space: normal; font-size: small; "><div>
<font class="Apple-style-span" color="#AA22AA" face="monospace" size="3"><span class="Apple-style-span" style="font-size: 12px; white-space: pre; ">Looks like it may be a place to start?</span></font></div><div><font class="Apple-style-span" color="#AA22AA" face="monospace" size="3"><span class="Apple-style-span" style="font-size: 12px; white-space: pre; "><br>
</span></font></div></span></span></font></div></div>-- <br>Philip Lowman<br>