[cmake-developers] [CMake 0014749]: Control returned value by CTest

Mantis Bug Tracker mantis at public.kitware.com
Tue Feb 11 08:48:11 EST 2014


The following issue has been SUBMITTED. 
====================================================================== 
http://cmake.org/Bug/view.php?id=14749 
====================================================================== 
Reported By:                Mathieu Malaterre
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14749
Category:                   CTest
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2014-02-11 08:48 EST
Last Modified:              2014-02-11 08:48 EST
====================================================================== 
Summary:                    Control returned value by CTest
Description: 
It would be nice to have a way to control the returned value from CTest.

In some case it is desirable to have CTest return '0' (EXIT_SUCCESS) even when
one or more tests fails during the execution of CTest.

For example within jenkins framework:
http://alexott.blogspot.fr/2012/03/jenkins-cmakectest.html

Where CTest needs to be run this way:

ctest -T Test || true


====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2014-02-11 08:48 Mathieu MalaterreNew Issue                                    
======================================================================



More information about the cmake-developers mailing list