<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Mar 22, 2018 at 4:08 AM, Kai Wolf <span dir="ltr"><<a href="mailto:kai.wolf@gmail.com" target="_blank">kai.wolf@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div style="font-family:tahoma,sans-serif">when adding some ignored tests into the CTestCustom.cmake file via the variable CTEST_CUSTOM_TESTS_IGNORE, I'd expect that those ignored tests will also be written into the XML output file generated by CTest, so that Jenkins or Teamcity is able to visualize this information. <br></div><div style="font-family:tahoma,sans-serif"><br>However, it seems that even though the tests are indeed not executed when running CTest, they're also not put into the XML file, for instance with <Test Status="ignored">. Is this behaviour expected or am I missing something?<br></div></div></blockquote><div><br></div><div>You can use set_tests_properties to mark a test as <a href="https://cmake.org/cmake/help/latest/prop_test/DISABLED.html">DISABLED</a>.  Disabled tests are included in your Test.xml file, and they are shown on CDash as a slightly different flavor of "not run" test.</div></div></div></div>