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. 09 Jul, 2012 1 commit
    • Brad King's avatar
      CTestUpdateSVN: Do not create repo directory first (#13349) · c785c6bd
      Brad King authored
      If the directory already exists some svnadmin versions report
      
       svnadmin: E200011: Repository creation failed
       svnadmin: E200011: Could not create top-level directory
       svnadmin: E200011: '.../CTest UpdateSVN/repo' exists and is non-empty
      c785c6bd
  5. 24 Oct, 2011 2 commits
    • Brad King's avatar
      Teach CTest.UpdateSVN to detect svn add --depth before using it · 6d79b505
      Brad King authored
      Older svn versions do not have the --depth option for "svn add".
      Fortunately we do not need it for versions that old.  Look for the
      option and use it only when available.
      6d79b505
    • Brad King's avatar
      Fix CTest.UpdateSVN with Subversion 1.7 (#12535) · 74eb86c4
      Brad King authored
      The test adds a subdirectory with
      
       svn add subdir
       svn add ... subdir/foo.txt subdir/bar.txt
      
      Subversion 1.7 fails on the second command with
      
       svn: warning: W150002: '.../subdir/foo.txt' is already under version control
       svn: warning: W150002: '.../subdir/bar.txt' is already under version control
       svn: E200009: Could not add all targets because some targets don't exist
      
      because it considers adding an already-versioned file to be an error.
      Avoid the problem by using
      
       svn add --depth=empty subdir
      
      to add the subdirectory without the files it contains.
      74eb86c4
  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. 28 Jan, 2010 1 commit
  8. 18 Dec, 2009 1 commit
    • Brad King's avatar
      Test for SVNPath element in Update.xml · 91835563
      Brad King authored
      The commit "Submit Subversion directory path in Update.xml" added the
      element <SVNPath>...</SVNPath> to Update.xml for Subversion work trees.
      This commit teaches the CTest.UpdateSVN test to verify the presence of
      the element.
      91835563
  9. 08 Apr, 2009 1 commit
  10. 26 Feb, 2009 1 commit
  11. 23 Feb, 2009 2 commits
  12. 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