View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015874CMakeCTestpublic2015-12-08 17:292016-06-10 14:31
ReporterKevin Wojniak 
Assigned ToKitware Robot 
PrioritynormalSeverityfeatureReproducibilityalways
StatusclosedResolutionmoved 
PlatformOSOS Version
Product VersionCMake 3.4.1 
Target VersionFixed in Version 
Summary0015874: Add command line flag to force ctest to exit with non-zero code when no tests are run
DescriptionIf 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.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0042897)
Kitware Robot (administrator)
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.

 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


Copyright © 2000 - 2018 MantisBT Team