View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0007865 | CMake | CTest | public | 2008-10-28 04:03 | 2010-10-06 14:47 | ||||
Reporter | Rolf Eike Beer | ||||||||
Assigned To | Brad King | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | CMake-2-6 | ||||||||
Target Version | CMake 2.8.3 | Fixed in Version | CMake 2.8.3 | ||||||
Summary | 0007865: Command line is not XML escaped if test fails | ||||||||
Description | The main.cpp was just "main(){return -1;}" so all tests fail. In the resulting XML the command line of the test was not XML-escaped correctly. | ||||||||
Additional Information | Checked on Windows32 using CMake 2.6.2 | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | CMakeLists.txt [^] (350 bytes) 2008-10-28 04:03 [Show Content] | ||||||||
Relationships | |
Relationships |
Notes | |
(0014714) Bill Hoffman (manager) 2009-01-29 12:27 |
Seems to be fixed in CVS CMake: $ grep CommandLine Testing/20090129-1725/Test.xml <FullCommandLine>C:\hoffman\foo\test\b\CTestTest.exe "< >"</FullCommandLine> <FullCommandLine>C:\hoffman\foo\test\b\CTestTest.exe "< 1 < 2 < 3 < 4 > 5 > 6 > 7 >8 >"</FullCommandLine> <FullCommandLine>C:\hoffman\foo\test\b\CTestTest.exe <html></FullCommandLine> <FullCommandLine>C:\hoffman\foo\test\b\CTestTest.exe </xml></FullCommandLine> |
(0016374) Rolf Eike Beer (developer) 2009-05-11 11:34 |
No, that's exacly the bug. It must write '...\b\CTestTest.exe "< >"</FullCommandLine>'. |
(0021805) Brad King (manager) 2010-08-18 11:15 |
This works as expected in 2.8.2. It was fixed (in 2.8.1 I think) as a side-effect of utf8 encoding fixes. I've just further improved the output on UNIX systems by quoting arguments instead of using backslashes to escape spaces: http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=53836573 [^] |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2008-10-28 04:03 | Rolf Eike Beer | New Issue | |
2008-10-28 04:03 | Rolf Eike Beer | File Added: CMakeLists.txt | |
2009-01-29 12:27 | Bill Hoffman | Note Added: 0014714 | |
2009-01-29 12:27 | Bill Hoffman | Status | new => assigned |
2009-01-29 12:27 | Bill Hoffman | Assigned To | => Bill Hoffman |
2009-05-11 11:34 | Rolf Eike Beer | Note Added: 0016374 | |
2010-08-18 11:15 | Brad King | Note Added: 0021805 | |
2010-08-18 11:15 | Brad King | Assigned To | Bill Hoffman => Brad King |
2010-08-18 11:15 | Brad King | Status | assigned => closed |
2010-08-18 11:15 | Brad King | Resolution | open => fixed |
2010-08-31 17:51 | David Cole | Target Version | => CMake 2.8.3 |
2010-10-06 14:47 | David Cole | Fixed in Version | => CMake 2.8.3 |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |