diff options
author | Betsy McPhail <betsy.mcphail@kitware.com> | 2017-11-07 19:47:13 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-11-10 12:53:45 (GMT) |
commit | 3b272ff8e424b4f3e32fbc541732fdb6798cd978 (patch) | |
tree | abc6c17dfb24544b5f58197c0afa35053b9cfa91 | |
parent | 002d0a1cf96f535066b2e2158b9b5956a16353a7 (diff) | |
download | CMake-3b272ff8e424b4f3e32fbc541732fdb6798cd978.zip CMake-3b272ff8e424b4f3e32fbc541732fdb6798cd978.tar.gz CMake-3b272ff8e424b4f3e32fbc541732fdb6798cd978.tar.bz2 |
Help: Add 'Label and Subproject Summary' section to ctest(1) manual
-rw-r--r-- | Help/manual/ctest.1.rst | 28 |
1 files changed, 27 insertions, 1 deletions
diff --git a/Help/manual/ctest.1.rst b/Help/manual/ctest.1.rst index 1166fe6..d9af3bc 100644 --- a/Help/manual/ctest.1.rst +++ b/Help/manual/ctest.1.rst @@ -72,6 +72,10 @@ Options number of jobs. This option can also be set by setting the environment variable ``CTEST_PARALLEL_LEVEL``. + This option can be used with the :prop_test:`PROCESSORS` test property. + + See `Label and Subproject Summary`_. + ``--test-load <level>`` While running tests in parallel (e.g. with ``-j``), try not to start tests when they may cause the CPU load to pass above a given threshold. @@ -252,6 +256,8 @@ Options label associated with the tests run. If there are no labels on the tests, nothing extra is printed. + See `Label and Subproject Summary`_. + ``--no-subproject-summary`` Disable timing summary information for subprojects. @@ -259,6 +265,8 @@ Options subproject associated with the tests run. If there are no subprojects on the tests, nothing extra is printed. + See `Label and Subproject Summary`_. + ``--build-and-test`` See `Build and Test Mode`_. @@ -312,6 +320,21 @@ See `Build and Test Mode`_. .. include:: OPTIONS_HELP.txt +.. _`Label and Subproject Summary`: + +Label and Subproject Summary +============================ + +CTest prints timing summary information for each label and subproject +associated with the tests run. The label time summary will not include labels +that are mapped to subprojects. + +When the :prop_test:`PROCESSORS` test property is set, CTest will display a +weighted test timing result in label and subproject summaries. The wall clock +time for the test run will be multiplied by this property to give a better +idea of how much cpu resource CTest allocated for the test. The time is +reported with `sec*proc` instead of just `sec`. + .. _`Build and Test Mode`: Build and Test Mode @@ -749,7 +772,6 @@ Configuration settings to specify the version control tool include: * `CTest Script`_ variable: :variable:`CTEST_UPDATE_VERSION_ONLY` - Additional configuration settings include: ``NightlyStartTime`` @@ -791,6 +813,7 @@ Configuration settings include: * `CTest Script`_ variable: :variable:`CTEST_LABELS_FOR_SUBPROJECTS` * :module:`CTest` module variable: ``CTEST_LABELS_FOR_SUBPROJECTS`` + See `Label and Subproject Summary`_. .. _`CTest Build Step`: @@ -822,6 +845,8 @@ Configuration settings include: * `CTest Script`_ variable: :variable:`CTEST_LABELS_FOR_SUBPROJECTS` * :module:`CTest` module variable: ``CTEST_LABELS_FOR_SUBPROJECTS`` + See `Label and Subproject Summary`_. + ``MakeCommand`` Command-line to launch the software build process. It will be executed in the location specified by the @@ -865,6 +890,7 @@ Configuration settings include: * `CTest Script`_ variable: :variable:`CTEST_LABELS_FOR_SUBPROJECTS` * :module:`CTest` module variable: ``CTEST_LABELS_FOR_SUBPROJECTS`` + See `Label and Subproject Summary`_. ``TestLoad`` While running tests in parallel (e.g. with ``-j``), try not to start |