[cmake-developers] [CMake 0011368]: Let CTest return with an error status when compiler errors occur

Mantis Bug Tracker mantis at public.kitware.com
Wed Oct 27 07:33:40 EDT 2010


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=11368 
====================================================================== 
Reported By:                Marcel Loose
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   11368
Category:                   CTest
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2010-10-27 07:33 EDT
Last Modified:              2010-10-27 07:33 EDT
====================================================================== 
Summary:                    Let CTest return with an error status when compiler
errors occur
Description: 
Currently, a command like 'ctest -D ExperimentalBuild' returns with exit
status 0, even if compiler errors occurred. This is IMO caused by the fact
that 'make -i' is used to build the code. See
http://www.mail-archive.com/cmake@cmake.org/msg32294.html for a discussion
on this issue.

I would like ctest to return with a non-zero exit status when compiler
errors have occurred. It would really help in situations where, e.g.,
'ctest -D ExperimentalBuild' is used in a script.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-10-27 07:33 Marcel Loose   New Issue                                    
======================================================================




More information about the cmake-developers mailing list