1
0

integration-testing.rst 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. CMake Integration Testing
  2. *************************
  3. The following documents how to run integration testing builds.
  4. See documentation on `CMake Development`_ for more information.
  5. See the `CMake Testing Guide`_ for running the test suite locally.
  6. .. _`CMake Development`: README.rst
  7. .. _`CMake Testing Guide`: testing.rst
  8. CMake Dashboard Scripts
  9. =======================
  10. The *integration testing* step of the `CMake Review Process`_ uses a set of
  11. testing machines that follow an integration branch on their own schedule to
  12. drive testing and submit results to the `CMake CDash Page`_. Anyone is
  13. welcome to provide testing machines in order to help keep support for their
  14. platforms working.
  15. The `CMake Dashboard Scripts Repository`_ provides CTest scripts to drive
  16. nightly, continuous, and experimental testing of CMake. Use the following
  17. commands to set up a new integration testing client:
  18. .. code-block:: console
  19. $ mkdir -p ~/Dashboards
  20. $ cd ~/Dashboards
  21. $ git clone https://gitlab.kitware.com/cmake/dashboard-scripts.git CMakeScripts
  22. $ cd CMakeScripts
  23. The `cmake_common.cmake`_ script contains comments at the top with
  24. instructions to set up a testing client. As it instructs, create a
  25. CTest script with local settings and include ``cmake_common.cmake``.
  26. .. _`CMake Review Process`: review.rst
  27. .. _`CMake CDash Page`: https://open.cdash.org/index.php?project=CMake
  28. .. _`CMake Dashboard Scripts Repository`: https://gitlab.kitware.com/cmake/dashboard-scripts
  29. .. _`cmake_common.cmake`: https://gitlab.kitware.com/cmake/dashboard-scripts/-/blob/master/cmake_common.cmake
  30. Nightly Start Time
  31. ------------------
  32. The ``cmake_common.cmake`` script expects its includer to be run from a
  33. nightly scheduled task (cron job). Schedule such tasks for sometime after
  34. ``1:00am UTC``, the time at which our nightly testing branches fast-forward.