MantisBT - CMake
View Issue Details
0014749CMakeCTestpublic2014-02-11 08:482016-06-10 14:31
Mathieu Malaterre 
Kitware Robot 
normalminorhave not tried
closedmoved 
CMake 2.8.12.2 
 
0014749: Control returned value by CTest
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

No tags attached.
Issue History
2014-02-11 08:48Mathieu MalaterreNew Issue
2016-06-10 14:29Kitware RobotNote Added: 0042483
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
(0042483)
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.