MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0015874 | CMake | CTest | public | 2015-12-08 17:29 | 2016-06-10 14:31 |
Reporter | Kevin Wojniak | ||||
Assigned To | Kitware Robot | ||||
Priority | normal | Severity | feature | Reproducibility | always |
Status | closed | Resolution | moved | ||
Platform | OS | OS Version | |||
Product Version | CMake 3.4.1 | ||||
Target Version | Fixed in Version | ||||
Summary | 0015874: Add command line flag to force ctest to exit with non-zero code when no tests are run | ||||
Description | If there is an error with how tests are configured, and ctest is run, it just outputs "No tests were found" and exits with code 0. For scripts that depend on ctest exit code reflecting whether tests succeeded or not, this fails. A flag should be set that forces a non-zero exit code when no tests are run. Otherwise the only way to handle this is to parse "No tests were found" but that is a hack and is not always possible. | ||||
Steps To Reproduce | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2015-12-08 17:29 | Kevin Wojniak | New Issue | |||
2016-06-10 14:29 | Kitware Robot | Note Added: 0042897 | |||
2016-06-10 14:29 | Kitware Robot | Status | new => resolved | ||
2016-06-10 14:29 | Kitware Robot | Resolution | open => moved | ||
2016-06-10 14:29 | Kitware Robot | Assigned To | => Kitware Robot | ||
2016-06-10 14:31 | Kitware Robot | Status | resolved => closed |
Notes | |||||
|
|||||
|
|