[cmake-developers] [CMake 0013933]: CTest should delete files if compilation failed

Mantis Bug Tracker mantis at public.kitware.com
Mon Feb 18 12:26:44 EST 2013


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=13933 
====================================================================== 
Reported By:                Mathias Gaunard
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13933
Category:                   CTest
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2013-02-18 12:26 EST
Last Modified:              2013-02-18 12:26 EST
====================================================================== 
Summary:                    CTest should delete files if compilation failed
Description: 
In a setup where a clean is not issued between builds, if building of a
particular test executable fails the Test pass may run an outdated executable
from a previous build.

To avoid this problem, it would be nice if the ctest Build phase removed
whatever executables failed to be generated.

Forcing a clean before is not a good idea since it causes unnecessary
re-building of things that haven't changed.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2013-02-18 12:26 Mathias GaunardNew Issue                                    
======================================================================




More information about the cmake-developers mailing list