MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0007077 | CMake | CTest | public | 2008-05-21 18:17 | 2008-05-23 11:31 |
| Reporter | Timothy Shead | ||||
| Assigned To | |||||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | OS | OS Version | |||
| Product Version | CMake-2-6 | ||||
| Target Version | Fixed in Version | ||||
| Summary | 0007077: CTest ignores <DartMeasurement> tags with type "text/html" | ||||
| Description | Although the wiki page at http://public.kitware.com/Wiki/CDash:DartMeasurement [^] describes <DartMeasurement> data with type "text/html", CTest does not foward HTML data to CDash. Having an ability to submit HTML data to the CDash server would be a big help to us - in particular, we're interested in using the Google Chart API (http://code.google.com/apis/chart/ [^]) to embed charts in our tests as HTML <img> tags. The attached Python test script writes several different varieties of <DartMeasurement> tag to stdout. I note that in the Test.xml file generated by CTest, most of the tags are present, but the "text/html" and "text/xml" tags are not: <Testing> <StartDateTime>May 21 15:40 MDT</StartDateTime> <StartTestTime>1211406053</StartTestTime> <TestList> <Test>./foo1</Test> </TestList> <Test Status="passed"> <Name>foo1</Name> <Path>.</Path> <FullName>./foo1</FullName> <FullCommandLine>/usr/bin/python /Users/tshead/src/cdash_test/test.measurements.py</FullCommandLine> <Results> <NamedMeasurement name="Test_Float" type="numeric/float"><Value>0.12</Value></NamedMeasurement> <NamedMeasurement name="Test_Integer" type="numeric/integer"><Value>12</Value></NamedMeasurement> <NamedMeasurement name="Test_String" type="text/string"><Value>A simple message</Value></NamedMeasurement> <NamedMeasurement name="Test_Text" type="text/text"><Value>A longer message</Value></NamedMeasurement> <NamedMeasurement type="numeric/double" name="Execution Time"><Value>0</Value></NamedMeasurement> <NamedMeasurement type="text/string" name="Completion Status"><Value>Completed</Value></NamedMeasurement> <NamedMeasurement type="text/string" name="Command Line"><Value>/usr/bin/python /Users/tshead/src/cdash_test/test.measurements.py</Value></NamedMeasurement> <Measurement> <Value> </Value> </Measurement> </Results> </Test> <EndDateTime>May 21 15:40 MDT</EndDateTime> <EndTestTime>1211406053</EndTestTime> <ElapsedMinutes>0</ElapsedMinutes></Testing> I am using the new CMake 2.6: $ ctest --version ctest version 2.6-patch 0 | ||||
| Steps To Reproduce | |||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | https://public.kitware.com/Bug/file/1485/test.measurements.py https://public.kitware.com/Bug/file/1486/CMakeLists.txt https://public.kitware.com/Bug/file/1487/CTestConfig.cmake https://public.kitware.com/Bug/file/1491/html_measurement.patch | ||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2008-05-21 18:17 | Timothy Shead | New Issue | |||
| 2008-05-21 18:17 | Timothy Shead | File Added: test.measurements.py | |||
| 2008-05-21 18:17 | Timothy Shead | File Added: CMakeLists.txt | |||
| 2008-05-21 18:18 | Timothy Shead | File Added: CTestConfig.cmake | |||
| 2008-05-21 18:18 | Timothy Shead | Note Added: 0012052 | |||
| 2008-05-23 02:29 | Timothy Shead | File Added: html_measurement.patch | |||
| 2008-05-23 02:30 | Timothy Shead | Note Added: 0012087 | |||
| 2008-05-23 11:31 | Bill Hoffman | Status | new => closed | ||
| 2008-05-23 11:31 | Bill Hoffman | Note Added: 0012092 | |||
| 2008-05-23 11:31 | Bill Hoffman | Resolution | open => fixed | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||