MantisBT - CMake |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0015600 | CMake | CTest | public | 2015-06-02 08:44 | 2016-01-04 11:51 |
|
Reporter | Christophe Dumeunier | |
Assigned To | Brad King | |
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | Linux | OS | openSUSE | OS Version | 12.3 |
Product Version | CMake 3.1 | |
Target Version | CMake 3.4 | Fixed in Version | CMake 3.4 | |
|
Summary | 0015600: CTest output redirection doesn't respect the order |
Description | The output redirection from the terminal (stdout and stderr) to the LastTest.log file doesn't respect the order of the output between stdout and stderr. When a long message is printed (and flushed) on stdout and followed by a message on stderr, the error message is printed inside the message from stdout, even if stdout is flushed. If I run the executable in the terminal or with "> output.log 2>&1", the error message is printed at the end, as expected.
You can see in attachement the result of executing the given C++ test with CTest. |
Steps To Reproduce | Launch the tests on the project given in attachement and observe the problem in the generated file ./Testing/Temporary/LastTest.log |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | bug_ctest_stdouterr.zip (139,493) 2015-06-02 08:44 https://public.kitware.com/Bug/file/5468/bug_ctest_stdouterr.zip |
|
Issue History |
Date Modified | Username | Field | Change |
2015-06-02 08:44 | Christophe Dumeunier | New Issue | |
2015-06-02 08:44 | Christophe Dumeunier | File Added: bug_ctest_stdouterr.zip | |
2015-06-04 08:46 | Brad King | Note Added: 0038882 | |
2015-06-04 08:46 | Brad King | Assigned To | => Brad King |
2015-06-04 08:46 | Brad King | Status | new => resolved |
2015-06-04 08:46 | Brad King | Resolution | open => fixed |
2015-06-04 08:46 | Brad King | Fixed in Version | => CMake 3.4 |
2015-06-04 08:46 | Brad King | Target Version | => CMake 3.4 |
2016-01-04 11:51 | Robert Maynard | Note Added: 0040059 | |
2016-01-04 11:51 | Robert Maynard | Status | resolved => closed |