1. 28 Nov, 2018 1 commit
  2. 20 Nov, 2018 1 commit
  3. 01 Jun, 2018 1 commit
    • Kitware Robot's avatar
      Revise C++ coding style using clang-format-6.0 · d7204e64
      Kitware Robot authored
      Run the `clang-format.bash` script to update all our C and C++ code to a
      new style defined by `.clang-format`.  Use `clang-format` version 6.0.
      
      * If you reached this commit for a line in `git blame`, re-run the blame
        operation starting at the parent of this commit to see older history
        for the content.
      
      * See the parent commit for instructions to rebase a change across this
        style transition commit.
      d7204e64
  4. 03 Jan, 2018 1 commit
  5. 16 May, 2016 1 commit
    • Kitware Robot's avatar
      Revise C++ coding style using clang-format · d9fd2f54
      Kitware Robot authored
      Run the `Utilities/Scripts/clang-format.bash` script to update
      all our C++ code to a new style defined by `.clang-format`.
      Use `clang-format` version 3.8.
      
      * If you reached this commit for a line in `git blame`, re-run the blame
        operation starting at the parent of this commit to see older history
        for the content.
      
      * See the parent commit for instructions to rebase a change across this
        style transition commit.
      d9fd2f54
  6. 10 Sep, 2014 1 commit
  7. 02 Jul, 2014 1 commit
    • Brad King's avatar
      Tests: Fix CTestTestTimeout output order to match regex · 15e61f9b
      Brad King authored
      Print the "timeout correctly killed" message using message(STATUS) so
      that 'ctest -S' puts it in the same pipe as the rest of the test command
      handler output.  This ensures it shows up in the same order every time.
      15e61f9b
  8. 25 Jun, 2014 1 commit
  9. 24 Jun, 2014 1 commit
  10. 23 May, 2014 1 commit
    • Brad King's avatar
      Tests: Try to make CTestTestTimeout more robust · 9afcecaf
      Brad King authored
      Write to the timeout test log file before sleeping and flush to be sure
      it is created.  Move the check that the after-sleep line is not written
      out to the ctest script.  Rename the CheckChild test to TestSleep since
      it no longer checks.  Do not try to read the log file if it does not
      exist.
      9afcecaf
  11. 03 Mar, 2014 1 commit
  12. 23 Oct, 2013 1 commit
  13. 07 Feb, 2013 1 commit
    • Brad King's avatar
      Tests: Add generator toolset support · 56ca8d4e
      Brad King authored
      Propagate CMAKE_GENERATOR_TOOLSET through the test hierarchy so that all
      tests can build with the selected generator toolset, if any.
      56ca8d4e
  14. 13 Aug, 2012 1 commit
    • Kitware Robot's avatar
      Convert CMake-language commands to lower case · 77543bde
      Kitware Robot authored
      Ancient CMake versions required upper-case commands.  Later command
      names became case-insensitive.  Now the preferred style is lower-case.
      
      Run the following shell code:
      
      cmake --help-command-list |
      grep -v "cmake version" |
      while read c; do
          echo 's/\b'"$(echo $c | tr '[:lower:]' '[:upper:]')"'\(\s*\)(/'"$c"'\1(/g'
      done >convert.sed &&
      git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' |
      egrep -z -v '^(Utilities/cm|Source/kwsys/)' |
      xargs -0 sed -i -f convert.sed &&
      rm convert.sed
      77543bde
  15. 28 Jan, 2011 1 commit
    • David Cole's avatar
      Tests: Eliminate unnecessary files and variables. · a6a21c85
      David Cole authored
      1: The CTestTestFailedSubmits tests do not need to run the
         CTEST_MEMCHECK command. It is covered by the CTestTest2
         test. If more coverage *is* required, choose a test that
         runs by itself once to add it to... This one gets used
         several times in a loop to test submission failure via
         the various submission protocols. With memchecking on,
         each test here takes 1000 seconds or more on a "fast"
         build...
      
      2: Other ctest tests do not need any of the CTEST_MEMORYCHECK_*
         variables defined. They don't even call CTEST_MEMCHECK, or
         -D NightlyMemCheck, or anything. So: remove the unnecessary
         set calls.
      
      3: CTestTest3 has gone intentionally unused for months because
         it did not add any coverage and caused no ends of sporadic
         randomish failures when network connectivity was spotty.
         Remove its directory. Never add it again.
      a6a21c85
  16. 28 Jan, 2010 1 commit
  17. 21 Dec, 2009 1 commit
    • Brad King's avatar
      Longer CTestTestTimeout default time on Cygwin · 5cf77136
      Brad King authored
      The commit "Make CTestTestTimeout time configurable" added a CMake cache
      variable CTestTestTimeout_TIME to configure the length of the timeout
      used by the inner CTestTestTimeout test.  The reason was to allow users
      on slow machines to give this test some extra time without extending the
      timeout for everyone.  However, Cygwin CMake seems to load slowly enough
      that it is worth a longer default timeout for that platform.
      5cf77136
  18. 02 Dec, 2009 3 commits
    • Zach's avatar
    • Brad King's avatar
      Make CTestTestTimeout time configurable · b14734b9
      Brad King authored
      In this test we start up a cmake script that runs a process that sleeps,
      and the timeout for the script is shorter than the sleep time.  However,
      in order to properly detect that the sleeping grandchild is killed when
      the script times out we need to give sufficient time for the script to
      start the grandchild.  Otherwise the log file for the grandchild is not
      available.
      
      On some (cygwin) builds our previous 1 second timeout for the script was
      not long enough to let the interpreter load and start the grandchild.
      We make the timeout time configurable by setting CTestTestTimeout_TIME
      in the cache for CMake itself.  It tells the test how long to let the
      script run.  The grandchild always sleeps for 4 seconds longer to ensure
      a comfortable window during which the process tree can be killed.
      b14734b9
    • Brad King's avatar
      Remove unused code from CTest test suite · ed55b1b8
      Brad King authored
      We remove from Tests/CTestTest*/CMakeLists.txt some historical cruft
      that is no longer used by the test suite.
      ed55b1b8
  19. 30 Nov, 2009 1 commit
    • Brad King's avatar
      CTest: Test process tree kill on timeout · 88eeface
      Brad King authored
      We extend the CTestTestTimeout test to check that when a test times out
      its children (grandchildren of ctest) are killed.  Instead of running
      the timeout executable directly, we run it through a cmake script that
      redirects the timeout executable output to a file.  A second test later
      runs and verifies that the timeout executable was unable to complete and
      write data to the log file.  Only if the first inner test times out and
      the second inner test passes (log is empty) does the CTestTestTimeout
      test pass.
      88eeface
  20. 01 Oct, 2009 1 commit
  21. 30 Sep, 2009 1 commit
  22. 29 Sep, 2009 1 commit