>You could use DartMeasurementFile to upload arbitrary files with the CTest submission, and then teach CDash what to do with them.
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. >I'd prefer not to add yet another dependency (on xslt). Yeah, I guessed this would be your answer, it makes sense. I have had another, simpler (?) idea that would fit everybody's requirements. If the CTest parser parsed the output as XML and not simple text, it should be able to recognize CDATA from actual markup. Thus replacing the special chars could be done when reading, and the cmCtestTestHandler::GenerateDartOutput() function could be adapted easily(?) to write the read XML. I'm not sure how feasible this would be, but this sounds like the best way to integrate custom XML in a CTest report. 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. But I'd rather do this as a last resort. Thanks Le jeu. 10 mars 2016 à 15:29, Brad King <brad.k...@kitware.com> a écrit : > On 03/10/2016 03:29 AM, Charles Huet wrote: > > Now the big difficulty in this would be to integrate XSLT2 capabilities > into CMake. > [snip] > > Do you think this coule be viable ? > > I'd prefer not to add yet another dependency (on xslt). CTest defines > nothing about the format of the test output, besides DartMeasurement hooks. > It isn't guaranteed to even be displayed on a web page where having > custom HTML even makes sense. This really should be done on the > CDash side. You could use DartMeasurementFile to upload arbitrary > files with the CTest submission, and then teach CDash what to do with > them. > > -Brad > >
-- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers