| View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
| 0011308 | CDash | [CMake] | public | 2010-10-12 15:09 | 2011-12-22 12:41 | ||||
| Reporter | David Coeurjolly | ||||||||
| Assigned To | Julien Jomier | ||||||||
| Priority | normal | Severity | major | Reproducibility | always | ||||
| Status | resolved | Resolution | no change required | ||||||
| Platform | OS | OS Version | |||||||
| Product Version | 1.6.4 | ||||||||
| Target Version | Fixed in Version | ||||||||
| Summary | 0011308: Ctest and CDash do not handle C++ exception correctly in test files | ||||||||
| Description | I've got a C++ unit test that throws an c++ exception. During the "make test", CTest correctly tags the test as "****Exception: Other" and it returns message: The following tests FAILED: 33 - testMagickReader (OTHER_FAULT) The problem is that CTest ends up with an error "Errors while running CTest" (error code 8) and the report is not published to my local cdash (1.6.4). If I remove the file from the test suite, ctest and cdash work perfectly... | ||||||||
| Additional Information | If needed, I could attach the complete ctest log... | ||||||||
| Tags | No tags attached. | ||||||||
| Attached Files | |||||||||
| Relationships | |
| Relationships |
| Notes | |
|
(0022480) David Coeurjolly (reporter) 2010-10-12 15:14 |
Missing info: I'm using ctest 2.8.2 |
|
(0022508) David Coeurjolly (reporter) 2010-10-16 11:51 |
I've added a code snippet... the "ctest" produces an error (and the cdash report is not produced). |
|
(0024500) Bill Hoffman (manager) 2011-01-06 17:07 |
I ran this, and the xml I get that would go to cdash has this: <Results> <NamedMeasurement type="text/string" name="Exit Code"><Value>Failed</Value></NamedMeasurement> <NamedMeasurement type="text/string" name="Exit Value"><Value>3</Value></NamedMeasurement> <NamedMeasurement type="numeric/double" name="Execution Time"><Value>2.997</Value></NamedMeasurement> <NamedMeasurement type="text/string" name="Completion Status"><Value>Completed</Value></NamedMeasurement> <NamedMeasurement type="text/string" name="Command Line"><Value>"C:\Users\hoffman\Work\My Builds\test\ExceptTest\b\simpleThrow.exe"</Value></NamedMeasurement> <Measurement> <Value>Exception catched:bad allocation </Value> </Measurement> </Results> </Test> <EndDateTime>Jan 06 17:05 Eastern Standard Time</EndDateTime> <EndTestTime>1294351545</EndTestTime> <ElapsedMinutes>0</ElapsedMinutes></Testing> So, this might be a CDash display issue? |
|
(0028045) Julien Jomier (manager) 2011-12-22 12:41 |
It seems that everything works correctly with CDash 1.9 and CMake 2.8.6 |
| Notes |
| Issue History | |||
| Date Modified | Username | Field | Change |
| 2010-10-12 15:09 | David Coeurjolly | New Issue | |
| 2010-10-12 15:14 | David Coeurjolly | Note Added: 0022480 | |
| 2010-10-13 03:11 | Julien Jomier | Project | CDash => CMake |
| 2010-10-16 11:50 | David Coeurjolly | File Added: ExceptTest.tgz | |
| 2010-10-16 11:51 | David Coeurjolly | Note Added: 0022508 | |
| 2011-01-06 17:07 | Bill Hoffman | Note Added: 0024500 | |
| 2011-01-06 17:07 | Bill Hoffman | Assigned To | => Julien Jomier |
| 2011-01-06 17:07 | Bill Hoffman | Status | new => assigned |
| 2011-01-18 12:03 | David Cole | Project | CMake => CDash |
| 2011-12-22 12:41 | Julien Jomier | Note Added: 0028045 | |
| 2011-12-22 12:41 | Julien Jomier | Status | assigned => resolved |
| 2011-12-22 12:41 | Julien Jomier | Resolution | open => no change required |
| Issue History |
| Copyright © 2000 - 2018 MantisBT Team |