1. 27 Jul, 2016 1 commit
    • Daniel Pfeifer's avatar
      Use string(APPEND) in Tests · 7a649111
      Daniel Pfeifer authored
      Automate with:
      
      find Tests -type f -print0 | xargs -0 perl -i -0pe \
      's/set\(([a-zA-Z0-9_]+)(\s+)"\$\{\1\}([^"])/string(APPEND \1\2"\3/g'
      7a649111
  2. 11 Jun, 2015 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. 22 Mar, 2012 1 commit
    • Brad King's avatar
      CTest.UpdateHG: Fix repo URL for leading slash · d0702f82
      Brad King authored
      Use "file:///..." instead of "file:////..." when the file system path
      starts in a slash.  Commit 0916cc88 (CTest.UpdateHG: Fix repo URL for
      local filesystem, 2012-03-02) added a third slash after "file://"
      unconditionally.  This worked for many file systems but not on Cygwin
      where "file:////cygdrive/..." looks like "file://" followed by a network
      file path "//cygdrive/...".  Add the slash only if the file system path
      does not already start with one.
      d0702f82
  5. 02 Mar, 2012 1 commit
  6. 08 Jun, 2010 1 commit
    • 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
  7. 10 Jul, 2009 1 commit
    • Brad King's avatar
      ENH: Teach CTest to handle Mercurial repositories · d4d467db
      Brad King authored
      This creates cmCTestHG to drive CTest Update handling on hg-based work
      trees.  Currently we always update to the head of the remote tracking
      branch (hg pull), so the nightly start time is ignored for Nightly
      builds.  A later change will address this.
      
      See issue #7879.  Patch from Emmanuel Christophe.  I modified the patch
      slightly for code style, to finish up some parsing details, and to fix
      the test.
      d4d467db
  8. 23 Apr, 2009 1 commit
  9. 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
  10. 08 Apr, 2009 2 commits
  11. 26 Feb, 2009 1 commit
  12. 23 Feb, 2009 1 commit
  13. 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