summaryrefslogtreecommitdiffstats
path: root/Help/manual
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@crascit.com>2020-07-08 13:06:31 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-07-08 13:06:54 (GMT)
commit32e13e52916617618d9036440a70fd464ba2ad87 (patch)
tree370f6a3eb42f16f8a5275bea3958e371833a0bdd /Help/manual
parent89845851a74d3dd47275803848593c2cd27e9325 (diff)
parentc57695a2f4ad325346e33eee655b75c1716cf957 (diff)
downloadCMake-32e13e52916617618d9036440a70fd464ba2ad87.zip
CMake-32e13e52916617618d9036440a70fd464ba2ad87.tar.gz
CMake-32e13e52916617618d9036440a70fd464ba2ad87.tar.bz2
Merge topic 'ctest-resource-spec-file-doc'
c57695a2f4 Help: Clarify search order for resource spec file Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4983
Diffstat (limited to 'Help/manual')
-rw-r--r--Help/manual/ctest.1.rst13
1 files changed, 10 insertions, 3 deletions
diff --git a/Help/manual/ctest.1.rst b/Help/manual/ctest.1.rst
index 5f953b3..d3ab75a 100644
--- a/Help/manual/ctest.1.rst
+++ b/Help/manual/ctest.1.rst
@@ -1410,9 +1410,16 @@ Resource Specification File
The resource specification file is a JSON file which is passed to CTest, either
on the :manual:`ctest(1)` command line as ``--resource-spec-file``, or as the
-``RESOURCE_SPEC_FILE`` argument of :command:`ctest_test`. The resource
-specification file must be a JSON object. All examples in this document assume
-the following resource specification file:
+``RESOURCE_SPEC_FILE`` argument of :command:`ctest_test`. If a dashboard script
+is used and ``RESOURCE_SPEC_FILE`` is not specified, the value of
+:variable:`CTEST_RESOURCE_SPEC_FILE` in the dashboard script is used instead.
+If ``--resource-spec-file``, ``RESOURCE_SPEC_FILE``, and
+:variable:`CTEST_RESOURCE_SPEC_FILE` in the dashboard script are not specified,
+the value of :variable:`CTEST_RESOURCE_SPEC_FILE` in the CMake build is used
+instead. If none of these are specified, no resource spec file is used.
+
+The resource specification file must be a JSON object. All examples in this
+document assume the following resource specification file:
.. code-block:: json