1. 18 Aug, 2014 1 commit
  2. 28 Feb, 2013 1 commit
  3. 13 Aug, 2012 1 commit
    • Kitware Robot's avatar
      Remove CMake-language block-end command arguments · 9db31162
      Kitware Robot authored
      Ancient versions of CMake required else(), endif(), and similar block
      termination commands to have arguments matching the command starting the
      block.  This is no longer the preferred style.
      
      Run the following shell code:
      
      for c in else endif endforeach endfunction endmacro endwhile; do
          echo 's/\b'"$c"'\(\s*\)(.\+)/'"$c"'\1()/'
      done >convert.sed &&
      git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' |
      egrep -z -v '^(Utilities/cm|Source/kwsys/)' |
      egrep -z -v 'Tests/CMakeTests/While-Endwhile-' |
      xargs -0 sed -i -f convert.sed &&
      rm convert.sed
      9db31162
  4. 20 Jun, 2012 1 commit
    • Brad King's avatar
      Make CTest.UpdateGIT robust to Git safecrlf on Windows · 5c153c62
      Brad King authored
      If the user has configured 'core.autocrlf' and 'core.safecrlf' then
      'git submodule add' will fail to 'git add' the '.gitmodules' file because
      it has LF newlines, at least as of Git 1.7.11.  Disable 'core.safecrlf'
      in our test repository to avoid the problem.
      5c153c62
  5. 26 Jul, 2010 1 commit
    • Brad King's avatar
      ctest_update: Support ".git file" work trees · 7bf8dc1a
      Brad King authored
      Commit c3781efb (Support Git upstream branch rewrites, 2010-06-08)
      assumed that ".git/FETCH_HEAD" exists inside the source tree.  Fix the
      implementation to handle a work tree using a ".git file" to link to its
      repository.  Use "git rev-parse --git-dir" to locate the real .git dir.
      7bf8dc1a
  6. 23 Jun, 2010 1 commit
    • Brad King's avatar
      CTest: Parse empty Git commits correctly · bbfe241c
      Brad King authored
      Git's diff-tree format has no '\n'-terminated blank line at the end of
      its commit message body block if there are no diff lines.  Instead the
      message body is terminated by '\0' and there is no diff section.  Teach
      CTest to parse the format in this case.
      bbfe241c
  7. 08 Jun, 2010 3 commits
    • Brad King's avatar
      ctest_update: Support Git upstream branch rewrites · c3781efb
      Brad King authored
      Use 'git fetch' followed by 'git reset' to update the source tree.  This
      is better than 'git pull' because it can handle a rewritten upstream
      branch and does not leave local modifications.  After fetch, parse
      FETCH_HEAD to find the merge head that 'git pull' would choose to track
      the upstream branch.  Then reset to the selected head.
      
      In the normal fast-forward case the behavior remains unchanged.
      However, now local modifications and commits will be erased, and
      upstream rewrites are handled smoothly.  This ensures that the upstream
      branch is tested as expected.
      c3781efb
    • Brad King's avatar
      ctest_update: Support custom Git update command · 2eae651a
      Brad King authored
      Define CTest configuration variable CTEST_GIT_UPDATE_CUSTOM to set a
      custom command line for updating Git-managed source trees.
      2eae651a
    • Brad King's avatar
      Generalize CTest.Update* test dashboard script helpers · 11bdc2b1
      Brad King authored
      Teach (create|run)_dashboard_script macros to treat the argument as the
      name of a build tree.  Append '.cmake' to generate the dashboard script
      name.  This allows future re-use of the macros for multiple test
      scripts.
      11bdc2b1
  8. 04 May, 2010 1 commit
    • Brad King's avatar
      Teach ctest_update about Git submodules · 67277bac
      Brad King authored
      Git does not automatically checkout the matching version of a submodule
      when it checks out a new version of the parent project in the work tree.
      If the submodule reference changed in the parent project then we were
      reporting the submodule path as a local modification.  Work around the
      problem in ctest_update using "git submodule update" after "git pull".
      For projects with no submodules this is a no-op.  See issue #10662.
      Also add a submodule to the test project for CTest.UpdateGIT to test the
      work-around.
      67277bac
  9. 11 Feb, 2010 1 commit
  10. 09 Feb, 2010 1 commit
    • Brad King's avatar
      Teach CTest.UpdateGIT test to fake file timestamp · 6e7e71e9
      Brad King authored
      We wrap the git executable in a shell script that touches one source
      file after 'git pull'.  This makes the file newer than the index even
      though it has not actually changed.  If CTest does not refresh the index
      properly then the test will fail with a bogus modified file.
      6e7e71e9
  11. 01 Sep, 2009 1 commit
    • Brad King's avatar
      Make CTest.UpdateGIT robust to user git config · 06332c88
      Brad King authored
      Part of this test does "git pull" on a dirty work tree.  We need to make
      sure that 'branch.master.rebase' is false for the test repository.
      Otherwise if it is true in the user configuration then pull will refuse
      to rebase and the test will fail.
      06332c88
  12. 23 Apr, 2009 1 commit
  13. 22 Apr, 2009 1 commit
    • Brad King's avatar
      ENH: Teach CTest to handle git repositories · 9c17cbeb
      Brad King authored
      This creates cmCTestGIT to drive CTest Update handling on git-based work
      trees.  Currently we always update to the head of the remote tracking
      branch (git pull), so the nightly start time is ignored for Nightly
      builds.  A later change will address this.  See issue #6994.
      9c17cbeb
  14. 08 Apr, 2009 2 commits
  15. 26 Feb, 2009 1 commit
  16. 23 Feb, 2009 1 commit
  17. 19 Oct, 2008 1 commit
    • Brad King's avatar
      ENH: Test CTest update logic with VCS tools · 3584a4ec
      Brad King authored
      This creates new tests "CTest.UpdateSVN" and "CTest.UpdateCVS".  They
      test that the Update.xml produced by CTest for a version-controlled
      project contains entries for files added, changed, and removed.
      3584a4ec