View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0012627 | CMake | CTest | public | 2011-12-15 05:05 | 2012-05-09 15:26 | ||||
Reporter | Nils Gladitz | ||||||||
Assigned To | Brad King | ||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | CMake 2.8.4 | ||||||||
Target Version | CMake 2.8.7 | Fixed in Version | CMake 2.8.7 | ||||||
Summary | 0012627: CTest does not match catastrophic error produced by intel c++ 11.1 | ||||||||
Description | I've got errors of the form: C:\some\dir\source.cpp(17): catastrophic error: could not open source file "some_header.h" Which CTest does not detect as an error. The closest match in cmCTestBuildHandler.cxx seems to be: "([^:]+)\\(([^\\)]+)\\) : (error|fatal error|catastrophic error)" I tried "([^:]+)\\(([^\\)]+)\\): (error|fatal error|catastrophic error)" which seems to work (I removed the space between ')' and ':'). Can this space be made optional? e.g. "([^:]+)\\(([^\\)]+)\\): ?(error|fatal error|catastrophic error)" | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0027987) Brad King (manager) 2011-12-15 08:47 |
Perhaps the space on each side of the ':' can be made optional: "([^:]+)\\(([^\\)]+)\\) ?: ?(error|fatal error|catastrophic error)" If you compile CMake with that does it pick up the error you need? |
(0027988) Nils Gladitz (developer) 2011-12-15 09:08 |
I copied the LastBuild_*.log created on the windows client to my system and did: grep -P "([^:]+)\\(([^\\)]+)\\) ?: ?(error|fatal error|catastrophic error)" Which seems to work. Hope that is close enough(?) |
(0027989) Brad King (manager) 2011-12-15 09:40 |
After reading the sample message more carefully I realized we only need the space before the : to be optional. Originally I was confused by a typo in your "e.g." example which shows the space after the : optional. Anyway, this should fix it: http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=56f29f48 [^] |
(0029453) David Cole (manager) 2012-05-09 15:26 |
Closing resolved issues that have not been updated in more than 4 months. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2011-12-15 05:05 | Nils Gladitz | New Issue | |
2011-12-15 08:47 | Brad King | Note Added: 0027987 | |
2011-12-15 09:08 | Nils Gladitz | Note Added: 0027988 | |
2011-12-15 09:40 | Brad King | Note Added: 0027989 | |
2011-12-15 09:40 | Brad King | Status | new => resolved |
2011-12-15 09:40 | Brad King | Resolution | open => fixed |
2011-12-15 09:40 | Brad King | Assigned To | => Brad King |
2011-12-16 17:27 | David Cole | Fixed in Version | => CMake 2.8.7 |
2011-12-16 17:27 | David Cole | Target Version | => CMake 2.8.7 |
2012-05-09 15:26 | David Cole | Note Added: 0029453 | |
2012-05-09 15:26 | David Cole | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |