[cmake-developers] [CMake 0014581]: The git module of CTest doesn't use the nightly timestamp for git update

Mantis Bug Tracker mantis at public.kitware.com
Tue Nov 19 05:44:10 EST 2013


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=14581 
====================================================================== 
Reported By:                David Weese
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14581
Category:                   CTest
Reproducibility:            always
Severity:                   major
Priority:                   high
Status:                     new
====================================================================== 
Date Submitted:             2013-11-19 05:44 EST
Last Modified:              2013-11-19 05:44 EST
====================================================================== 
Summary:                    The git module of CTest doesn't use the nightly
timestamp for git update
Description: 
The Git module of CTest doesn't use the nightly timestamp for git update.
Instead always the branch is updated to the current HEAD.

As a consequence, nightly builds that were launched later at the same day, e.g.
because they were executed one after another, possibly use a different state of
the repository.

That behavior is different from the Subversion module where in case of the
CTEST_MODEL=Nightly a night-timestamp is used for the update.

Additional Information: 
The current SVN module of CTest looks as follows
(cmake/Source/CTest/cmCTestSVN.cxx:282-286):

  // Specify the start time for nightly testing.
  if(this->CTest->GetTestModel() == cmCTest::NIGHTLY)
  {
    args.push_back("-r{" + this->GetNightlyTime() + " +0000}");
  }

The corresponding UpdateImpl function for GIT is located at
cmake/Source/CTest/cmCTestGIT.cxx:266-293. However, in the whole cpp file there
is no call of GetTestModel() and occurrence of cmCTest::NIGHTLY.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2013-11-19 05:44 David Weese    New Issue                                    
======================================================================




More information about the cmake-developers mailing list