Check out this article:<br><br><a href="http://www.kitware.com/blog/home/post/11">http://www.kitware.com/blog/home/post/11</a><br><br>and read the article in the Kitware Quarterly that is linked to from there on &quot;CDash subprojects&quot;.<br>
<br>It&#39;s not nearly as clean and straightforward as it should be, IMHO, but it does work.<br><br>Ceej<br>aka Chris Hillery<br><br><div class="gmail_quote">On Tue, Aug 31, 2010 at 9:00 PM, Neelima Mehdiratta <span dir="ltr">&lt;<a href="mailto:nmehdiratta@decarta.com">nmehdiratta@decarta.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">








<div link="blue" vlink="purple" lang="EN-US">

<div>

<p class="MsoNormal" style=""><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">I am writing unit tests for our
software using the Google test framework.  There is only one
CMakeLists.txt file at the top-level of the unit test hierarchy, which creates
one executable that runs all the tests.  I&#39;m using CTest to run the tests
and display the results via CDash.  The unit tests test several software modules
and I would like to display the results categorized according to the modules, via
CDash.  The structure of the unit test code is as follows:</span></font></p>

<p class="MsoNormal" style=""><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Root (test) directory which has the
CMakeLists.txt file,  test code common to all tests and several
directories (one for each module that needs to be tested). These directories
contain only the unit test code, but no CMakeLists.txt files.  Currently I
can only get a flat structure (a single list of the test results) displayed via
CDash (by using an ADD_TEST() line per test).  This list would become
really long over time and developers would mostly be interested in specific
modules. Is there a way to display the tests results categorized by the module
being tested, via CDash?</span></font></p>

<p class="MsoNormal" style=""><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>

<p class="MsoNormal" style=""><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Thanks.</span></font></p>

<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>

</div>

</div>


<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br></blockquote></div><br>