<div dir="ltr">>You could use DartMeasurementFile to upload arbitrary<br>files with the CTest submission, and then teach CDash what to do with<br>them.<div><br></div><div>Hmm, this sounds to me like too much custom logic would be in CDash, which would never make it upstream, and we have bad experiences maintaining this kind of patch sets.</div><div><br></div><div>><span style="line-height:1.5">I'd prefer not to add yet another dependency (on xslt). </span></div><div><span style="line-height:1.5">Yeah, I guessed this would be your answer, it makes sense.</span></div><div><span style="line-height:1.5"><br></span></div><div><span style="line-height:1.5">I have had another, simpler (?) idea that would fit everybody's requirements.</span></div><div><span style="line-height:1.5">If the CTest parser parsed the output as XML and not simple text, it should be able to recognize CDATA from actual markup.</span></div><div>Thus replacing the special chars could be done when reading, and the cmCtestTestHandler::GenerateDartOutput() function could be adapted easily(?) to write the read XML.</div><div><br></div><div>I'm not sure how feasible this would be, but this sounds like the best way to integrate custom XML in a CTest report.</div><div><br></div><div>If you don't think this is doable (or you don't want to integrate this kind of behavior into CTest) we'll customize CDash and I'll stop badgering you about this.</div><div><br></div><div>But I'd rather do this as a last resort.</div><div><br></div><div>Thanks</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">Le jeu. 10 mars 2016 à 15:29, Brad King <<a href="mailto:brad.king@kitware.com">brad.king@kitware.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 03/10/2016 03:29 AM, Charles Huet wrote:<br>
> Now the big difficulty in this would be to integrate XSLT2 capabilities into CMake.<br>
[snip]<br>
> Do you think this coule be viable ?<br>
<br>
I'd prefer not to add yet another dependency (on xslt).  CTest defines<br>
nothing about the format of the test output, besides DartMeasurement hooks.<br>
It isn't guaranteed to even be displayed on a web page where having<br>
custom HTML even makes sense.  This really should be done on the<br>
CDash side.  You could use DartMeasurementFile to upload arbitrary<br>
files with the CTest submission, and then teach CDash what to do with<br>
them.<br>
<br>
-Brad<br>
<br>
</blockquote></div>