forked from Kitware/CMake
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ExternalProject: Verify when a fetch occurs during update test.
The performance feature of only performing a git fetch when needed during the ExternalProject update step is verified during the test. A fetch is identified by removing the FETCH_HEAD file and checking for its reincarnation.
- Loading branch information
Showing
1 changed file
with
26 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4dee3a0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work! I'll do my best to get this into CMake 'next' soon, so it can be in 'master' well in time for the anticipated end-of-January 2.8.11 release.
4dee3a0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have rebased your ExternalProjectUpdate branch on current 'master' and pushed it to the cmake stage repository at git://cmake.org/stage/cmake.git as the "only-git-fetch-when-necessary" branch.
When I build it and run the tests on my Mac, though:
Do the tests pass for you?
4dee3a0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for giving it a try. I'll try your rebased version and also in a path with spaces, ...
4dee3a0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have confirmed the test failure on a Mac/Git 1.7.4.4 (dash5) as opposed to where I did the development (Linux/Git 1.7.8.6). Will take a further look...
4dee3a0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dear internets:
David helped me figure out the problem here: we made sure the test was using the built cmake instead of the cmake associated with the ctest used to drive the test. The fix has been added to the branch on the "stage" remote.
Thanks to Dave!
4dee3a0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dear thewtex:
Dave says you're welcome. And the stage branch has been merged to next for dashboard testing. Now we're almost done: we just have to get it running/passing on all the dashboard clients.
Fondly,
internets