MantisBT - CMake
View Issue Details
0015874CMakeCTestpublic2015-12-08 17:292016-06-10 14:31
Kevin Wojniak 
Kitware Robot 
normalfeaturealways
closedmoved 
CMake 3.4.1 
 
0015874: Add command line flag to force ctest to exit with non-zero code when no tests are run
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.
No tags attached.
Issue History
2015-12-08 17:29Kevin WojniakNew Issue
2016-06-10 14:29Kitware RobotNote Added: 0042897
2016-06-10 14:29Kitware RobotStatusnew => resolved
2016-06-10 14:29Kitware RobotResolutionopen => moved
2016-06-10 14:29Kitware RobotAssigned To => Kitware Robot
2016-06-10 14:31Kitware RobotStatusresolved => closed

Notes
(0042897)
Kitware Robot   
2016-06-10 14:29   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.