View Issue Details [ Jump to Notes ] | [ Print ] |
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 |
Tags | No tags attached. |
|
Attached Files | bug_ctest_stdouterr.zip [^] (139,493 bytes) 2015-06-02 08:44 |
|