[cmake-developers] [CMake 0015388]: CTEST_GIT_UPDATE_CUSTOM is not handled by CTest.cmake

Mantis Bug Tracker mantis at public.kitware.com
Tue Feb 3 12:55:19 EST 2015


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=15388 
====================================================================== 
Reported By:                Martin Beaudoin
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15388
Category:                   CMake
Reproducibility:            always
Severity:                   tweak
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2015-02-03 12:55 EST
Last Modified:              2015-02-03 12:55 EST
====================================================================== 
Summary:                    CTEST_GIT_UPDATE_CUSTOM is not handled by
CTest.cmake
Description: 
It would be nice to be able to use the option CTEST_GIT_UPDATE_CUSTOM  from a
CMakeLists.txt file.

Right now, only the GIT_UPDATE_OPTIONS option is handled by the module
CTest.cmake. 
The option CTEST_GIT_UPDATE_CUSTOM is basically ignored by the module
CTest.cmake.

So one has to modify the DartConfiguration.tcl directly in order to specify a
GITUpdateCustom entry prior to invoke "make Nightly" or "make NightlyUpdate".

I am willing to work on/contribute a patch if you are interested by this useful
tweak.

Additional Information: 
The syntax one has to specify for the CTEST_GIT_UPDATE_CUSTOM option is also a
bit peculiar.

My "Custom GIT Update" command is simply : "/usr/bin/git merge origin/master" 

Still, here is the syntax one will need to use to set the proper value for
GITUpdateCustom in the DartConfiguration.tcl:

/usr/bin/git;merge;origin/master

I don't mind this compact syntax which is probably necessary in order to supply
a multi-token entry that will be recognized for the key/value syntax of the
DartConfiguration.tcl file. 

But if this information is ever taken from a CMakeLists.txt file, it would be
nice to support at this higher level a user-friendly syntax like this:

SET(CTEST_GIT_UPDATE_CUSTOM "/usr/bin/git merge origin/master" ....)
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2015-02-03 12:55 Martin BeaudoinNew Issue                                    
======================================================================



More information about the cmake-developers mailing list