<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style></head><body lang=HU link=blue vlink="#954F72"><div class=WordSection1><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I would also be very much interested how this could be done. There was a thread I started a few months ago on a similar topic. I wanted to see the execution times of various tests without the initialization part. If my tests could output in some form the useful part of their run times, it would be nice if CTest could collect them and print them to console.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman",serif'><o:p> </o:p></span></p><div style='mso-element:para-border-div;border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;border:none;padding:0cm'><br><b>Feladó: </b><a href="mailto:wonder.mice@gmail.com">Andrey Pokrovskiy</a><br><b>Elküldve: </b>2016. január 20., szerda 21:02<br><b>Címzett: </b><a href="mailto:cmake@cmake.org">CMake ML</a><br><b>Tárgy: </b>[CMake] Customizing output of ctest command</p></div><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman",serif'><o:p> </o:p></span></p><p class=MsoNormal>Hi,</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>One of my tests generates a report table (file in text format). I</p><p class=MsoNormal>would like to see its content after each ctest (or make test)</p><p class=MsoNormal>invocation. Is there any way to achieve that?</p><p class=MsoNormal>I noticed that tests targets have ATTACHED_FILES property, though it</p><p class=MsoNormal>looks like it has no effect on ctest run when dashboard is not</p><p class=MsoNormal>configured. I don't need and don't want to setup dashboard, but I</p><p class=MsoNormal>would like to include information that is important to me in ctest</p><p class=MsoNormal>output.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>For example:</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>[...]</p><p class=MsoNormal>Start 33: run_tests</p><p class=MsoNormal>33/33 Test #33: run_tests .............................   Passed    0.06 sec</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>100% tests passed, 0 tests failed out of 33</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Total Test time (real) =   0.28 sec</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>/* Attached: results.json */</p><p class=MsoNormal>{</p><p class=MsoNormal>    "call_site_size": {</p><p class=MsoNormal>        "zf_log": "48",</p><p class=MsoNormal>        "easylogging++": "376",</p><p class=MsoNormal>        "glog": "144",</p><p class=MsoNormal>        "spdlog": "352",</p><p class=MsoNormal>        "g3log": "360"</p><p class=MsoNormal>    }</p><p class=MsoNormal>}</p><p class=MsoNormal>-- </p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Powered by www.kitware.com</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Kitware offers various services to support the CMake community. For more information on each offering, please visit:</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>CMake Support: http://cmake.org/cmake/help/support.html</p><p class=MsoNormal>CMake Consulting: http://cmake.org/cmake/help/consulting.html</p><p class=MsoNormal>CMake Training Courses: http://cmake.org/cmake/help/training.html</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Follow this link to subscribe/unsubscribe:</p><p class=MsoNormal>http://public.kitware.com/mailman/listinfo/cmake</p><p class=MsoNormal><o:p> </o:p></p></div></body></html>