MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0014121 | CMake | CMake | public | 2013-04-29 16:51 | 2013-10-31 10:24 |
Reporter | Nils Gladitz | ||||
Assigned To | Robert Maynard | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | OS Version | |||
Product Version | |||||
Target Version | CMake 2.8.12 | Fixed in Version | CMake 3.0 | ||
Summary | 0014121: Custom command errors are hidden when CTest launchers are used with Ninja | ||||
Description | I couldn't get any build errors from custom commands on my CDash dashboard when using Ninja with CTest launchers. Neither are there errors from custom commands with failure exit status nor from those with output matched by CTEST_CUSTOM_ERROR_MATCH. | ||||
Steps To Reproduce | I've set up a test project for which I tested make and ninja with and without launchers. CTEST_CUSTOM_ERROR_MATCH is set to "FooBar". The project contains three custom commands with the following outputs and exit codes: CustomCommand1: "this is a FooBar message" (exit success) CustomCommand2: "this is a fatal error" (exit failure) CustomCommand3: "this is a FooBar fatal error" (exit failure) These are the results that I got (numbers in braces indicate which custom commands produce output visible on CDash): Ninja (Launchers enabled): 0 Build Errors Ninja (Launchers disabled): 4 Build Errors (1, 2, 3) Unix Makefiles (Launchers enabled): 2 Build Errors (2, 3) Unix Makefiles (Launchers disabled): 4 Build Errors (1, 2, 3) CTEST_CUSTOM_ERROR_MATCH seems to only work with launchers disabled with Makefiles as well so I assume this is by design (though unexpected). At the very least the exit status in the Ninja + Launchers case should be evaluated as it is with Makefiles. | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | ![]() https://public.kitware.com/Bug/file/4753/issue_14121.tar.gz ![]() https://public.kitware.com/Bug/file/4755/0001-run-custom-commands-through-launcher-if-available.patch | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2013-04-29 16:51 | Nils Gladitz | New Issue | |||
2013-04-29 16:56 | Nils Gladitz | File Added: issue_14121.tar.gz | |||
2013-04-29 16:58 | Nils Gladitz | Note Added: 0032962 | |||
2013-05-04 03:34 | Nils Gladitz | Note Added: 0032970 | |||
2013-05-04 09:05 | Nils Gladitz | File Added: 0001-run-custom-commands-through-launcher-if-available.patch | |||
2013-05-04 09:15 | Nils Gladitz | Note Added: 0032971 | |||
2013-06-03 14:18 | Robert Maynard | Assigned To | => Robert Maynard | ||
2013-06-03 14:18 | Robert Maynard | Status | new => assigned | ||
2013-06-03 14:37 | Robert Maynard | Target Version | => CMake 2.8.12 | ||
2013-10-31 10:24 | Nils Gladitz | Note Added: 0034298 | |||
2013-10-31 10:24 | Nils Gladitz | Status | assigned => resolved | ||
2013-10-31 10:24 | Nils Gladitz | Fixed in Version | => CMake 3.0 | ||
2013-10-31 10:24 | Nils Gladitz | Resolution | open => fixed | ||
2013-10-31 10:24 | Nils Gladitz | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|