1. 08 Jan, 2019 1 commit
  2. 09 Nov, 2018 1 commit
  3. 05 Mar, 2018 1 commit
    • Brad King's avatar
      CTest: Add options to control test process affinity to CPUs · 6be53c66
      Brad King authored
      In commit v2.8.0~170 (ENH: Added ctest test options PROCESSORS and
      RUN_SERIAL, 2009-09-07) CTest learned to track the number of processors
      allocated to running tests in order to balance it against the desired
      level of parallelism.  Extend this idea by introducing a new
      `PROCESSOR_AFFINITY` test property to ask that CTest run a test
      with the CPU affinity mask set.  This will allow a set of tests
      that are running concurrently to use disjoint CPU resources.
      6be53c66
  4. 23 Jan, 2018 1 commit
    • Wouter Klouwen's avatar
      CTest: introduce cmDuration · 695951bc
      Wouter Klouwen authored
      This commit introduces cmDuration as a typedef for
      std::chrono::duration<double, std::ratio<1>>. It is less verbose and
      provides for a point to put future common functionality for durations.
      
      No functional change intended.
      695951bc
  5. 08 Dec, 2017 1 commit
  6. 04 Dec, 2017 1 commit
    • Wouter Klouwen's avatar
      CTest: convert timeouts to std::chrono::duration · 66419bc0
      Wouter Klouwen authored
      This commit continues the refactoring of CTest to adopt std::chrono.
      After the last sets of changes that introduced std::chrono::steady_clock
      and std::chrono::system_clock respectively, it makes sense to have all
      the timeouts be stored as std::chrono::duration.
      
      No functional change intended.
      66419bc0
  7. 17 Nov, 2017 1 commit
    • Wouter Klouwen's avatar
      CTest: adopt std::chrono::system_clock · 5fd979a8
      Wouter Klouwen authored
      After the refactor to make CTest use std::chrono::steady_clock for the
      keeping of time for test duration, there are still references to
      cmSystemTools::GetTime() left.
      To further adopt std::chrono for time related activities, this commit
      changes those remaining references to std::chrono::system_clock::now()
      calls and alters the storage from either unsigned int or double to
      std::chrono::system_clock::time_point.
      
      For ease of conversion, a converter method is added to cmXMLWriter that
      converts from a std::chrono::system_clock::time_point to the number of
      seconds since the UN*X epoch as that is expected behaviour. This means
      no more casts as required.
      
      Functionally should be no difference as the system_clock is implemented
      in the same terms.
      5fd979a8
  8. 14 Nov, 2017 1 commit
    • Wouter Klouwen's avatar
      CTest: use std::chrono::steady_clock for time keeping · e8a4036e
      Wouter Klouwen authored
      It was reported in issue #17345 that CTest does not use monotonic time
      to report test duration. Monotonic clocks are not affected by large NTP
      adjustments or things like daylight savings time.
      
      As CMake 3.10 requires C++11, which introduced std::chrono, this commit
      moves the time keeping in CTest from cmSystemTools::GetTime() to
      std::chrono::steady_clock.
      
      Fixes: #17345
      e8a4036e
  9. 03 Nov, 2017 1 commit
    • luz.paz's avatar
      Fix trivial typos in text · 777e87ae
      luz.paz authored
      Some are user facing.
      
      Found using
      
          codespell -q 3 --skip="./Utilities" -I .cmake-whitelist.txt`
      
      whereby the whitelist contained:
      
          ans
          dum
          helpfull
          emmited
          emmitted
          buil
          iff
          isnt
          nto
          ot
          pathes
          substract
          te
          todays
          upto
          whitespaces
      777e87ae
  10. 15 Sep, 2017 1 commit
    • Brad King's avatar
      Use C++11 override instead of CM_OVERRIDE · 0b33aee4
      Brad King authored
      We now require C++11 support including `override`.  Drop use of
      the old compatibility macro.  Convert references as follows:
      
          git grep -l CM_OVERRIDE -- '*.h' '*.hxx' '*.cxx' |
            xargs sed -i 's/CM_OVERRIDE/override/g'
      0b33aee4
  11. 14 Sep, 2017 1 commit
  12. 08 Sep, 2017 1 commit
    • Bill Hoffman's avatar
      CTest: Split out labels and subproject labels in summary output · a6e32eb0
      Bill Hoffman authored
      This commit splits out the reporting of labels and labels used for sub
      projects. If a label is a sub project label it will not be included in
      the label summary.  To implement this the commit creates
      PrintLabelOrSubprojectSummary which is able to do the work of both
      PrintLabelSummary and PrintSubprojectSummary avoiding code duplication.
      a6e32eb0
  13. 30 Aug, 2017 1 commit
  14. 26 Aug, 2017 1 commit
  15. 12 Jul, 2017 1 commit
  16. 10 Jul, 2017 2 commits
  17. 01 May, 2017 1 commit
  18. 11 Apr, 2017 1 commit
    • Daniel Pfeifer's avatar
      Use quotes for non-system includes · 1d829c86
      Daniel Pfeifer authored
      Automate with:
      
      git grep -l '#include <cm_' -- Source \
        | xargs sed -i 's/#include <\(cm_.*\)>/#include "\1"/g'
      
      git grep -l '#include <cmsys/' -- Source \
        | xargs sed -i 's/#include <\(cmsys\/.*\)>/#include "\1"/g'
      
      git grep -l '#include <cm[A-Z]' -- Source \
        | xargs sed -i 's/#include <\(cm[A-Z].*\)>/#include "\1"/g'
      1d829c86
  19. 29 Mar, 2017 1 commit
    • Betsy McPhail's avatar
      Add 'DISABLED' test property · b070947d
      Betsy McPhail authored
      When this property is set, the test is skipped and its status is
      automatically set to 'Not Run'.  A disabled test will not be counted in
      the total number of tests and its completion status will be 'Disabled'.
      b070947d
  20. 24 Oct, 2016 1 commit
  21. 22 Oct, 2016 1 commit
  22. 27 Sep, 2016 1 commit
    • Brad King's avatar
      Simplify CMake per-source license notices · 86578ecc
      Brad King authored
      Per-source copyright/license notice headers that spell out copyright holder
      names and years are hard to maintain and often out-of-date or plain wrong.
      Precise contributor information is already maintained automatically by the
      version control tool.  Ultimately it is the receiver of a file who is
      responsible for determining its licensing status, and per-source notices are
      merely a convenience.  Therefore it is simpler and more accurate for
      each source to have a generic notice of the license name and references to
      more detailed information on copyright holders and full license terms.
      
      Our `Copyright.txt` file now contains a list of Contributors whose names
      appeared source-level copyright notices.  It also references version control
      history for more precise information.  Therefore we no longer need to spell
      out the list of Contributors in each source file notice.
      
      Replace CMake per-source copyright/license notice headers with a short
      description of the license and links to `Copyright.txt` and online information
      available from "https://cmake.org/licensing".  The online URL also handles
      cases of modules being copied out of our source into other projects, so we
      can drop our notices about replacing links with full license text.
      
      Run the `Utilities/Scripts/filter-notices.bash` script to perform the majority
      of the replacements mechanically.  Manually fix up shebang lines and trailing
      newlines in a few files.  Manually update the notices in a few files that the
      script does not handle.
      86578ecc
  23. 20 Sep, 2016 1 commit
    • Craig Scott's avatar
      CTest: Add support for test fixtures · 73f47c9e
      Craig Scott authored
      Add new test properties:
      
      * FIXTURES_SETUP
      * FIXTURES_CLEANUP
      * FIXTURES_REQUIRED
      
      to specify the roles and dependencies of tests providing/using
      test fixtures.
      73f47c9e
  24. 25 Aug, 2016 1 commit
  25. 27 Jun, 2016 1 commit
  26. 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
  27. 29 Apr, 2016 1 commit
    • Brad King's avatar
      Source: Stabilize include order · 180538c7
      Brad King authored
      Each source file has a logical first include file.  Include it in an
      isolated block so that tools that sort includes do not move them.
      180538c7
  28. 22 Mar, 2016 1 commit
  29. 18 Sep, 2015 1 commit
  30. 26 May, 2015 2 commits
  31. 08 Mar, 2014 1 commit
    • Ben Boeckel's avatar
      strings: Remove cmStdString references · 270eb96d
      Ben Boeckel authored
      Casts from std::string -> cmStdString were high on the list of things
      taking up time. Avoid such implicit casts across function calls by just
      using std::string everywhere.
      
      The comment that the symbol name is too long is no longer relevant since
      modern debuggers alias the templates anyways and the size is a
      non-issue since the underlying methods are generated since it's
      inherited.
      270eb96d
  32. 14 Jan, 2014 1 commit
  33. 07 Jan, 2014 1 commit
  34. 08 Oct, 2013 1 commit
    • Zack Galbreath's avatar
      ctest: Add --rerun-failed option · eb2decc0
      Zack Galbreath authored
      Add a new command line argument to ctest.  This allows users to
      rerun tests that failed during the previous call to ctest.  This
      is accomplished by analyzing the most recently modified file named
      "^LastTestsFailed*" in the Testing/Temporary subdirectory of the
      project's binary directory.
      eb2decc0
  35. 07 Aug, 2013 1 commit
  36. 03 Aug, 2011 1 commit
  37. 15 Mar, 2011 1 commit
  38. 11 Mar, 2011 1 commit