View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0009727CMakeCTestpublic2009-10-17 03:312016-06-10 14:31
ReporterAlex Neundorf 
Assigned ToKitware Robot 
PrioritynormalSeverityfeatureReproducibilityalways
StatusclosedResolutionmoved 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0009727: add DOCUMENTATION or COMMENT test property
DescriptionHi,

it would be nice if I could set a DOCUMENTATION property (or somehing similar) for a test in my CMakeLists.txt. This documentation could then be also submitted to cdash, and when I go to the overview page for a specific test, it could display that documentation.

Alex
TagsNo tags attached.
Attached Filespatch file icon test-comment.patch [^] (1,992 bytes) 2010-02-27 13:38 [Show Content]
patch file icon test-comment-2.patch [^] (2,084 bytes) 2010-02-28 10:00 [Show Content]

 Relationships

  Notes
(0019658)
Alex Neundorf (developer)
2010-02-27 13:44

I attached a patch for ctest which implements a "COMMENT" property for tests and puts it in the generated xml file, which then looks like this:

   <Test Status="passed">
      <Name>Example</Name>
      <Comment>Hello world</Comment>
      <Path>./Tests</Path>

This alone in ctest doesn't help much.
It would be nice if cdash would then use this tag and display the comment e.g. on the per-test page (e.g. http://www.cdash.org/CDash/testSummary.php?project=1&name=Example&date=2010-02-27 [^]) and also in some way on the list-of-tests page (e.g. http://www.cdash.org/CDash/viewTest.php?onlypassed&buildid=550013 [^]).
Maybe it could add a small icon behind the name of the test, as is done e.g. in the "build name" column with the "info" icon, which displays additional information when clicked.

Alex
(0019660)
Alex Neundorf (developer)
2010-02-28 10:04

I attached an updated patch test-comment-2.patch.
The comment is now reported as NamedMeasurement and this way it already shows up on the dashboard.
Now it would be nice if cdash could be configured to show some "NamedMeasurements" in the overview pages.

Alex
(0041605)
Kitware Robot (administrator)
2016-06-10 14:27

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2009-10-17 03:31 Alex Neundorf New Issue
2010-02-27 13:38 Alex Neundorf File Added: test-comment.patch
2010-02-27 13:44 Alex Neundorf Note Added: 0019658
2010-02-28 10:00 Alex Neundorf File Added: test-comment-2.patch
2010-02-28 10:04 Alex Neundorf Note Added: 0019660
2010-12-14 16:01 David Cole Assigned To => David Cole
2010-12-14 16:01 David Cole Status new => assigned
2011-02-09 14:26 David Cole Status assigned => backlog
2011-02-09 15:10 David Cole Assigned To David Cole =>
2016-06-10 14:27 Kitware Robot Note Added: 0041605
2016-06-10 14:27 Kitware Robot Status backlog => resolved
2016-06-10 14:27 Kitware Robot Resolution open => moved
2016-06-10 14:27 Kitware Robot Assigned To => Kitware Robot
2016-06-10 14:31 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team