summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-05-19 13:48:25 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-05-19 13:48:38 (GMT)
commit80e93984c7597965a8fe05d9659b251d35130111 (patch)
tree88eb0768abc8b5a6c0277ac30c07f9868d3c3397 /Help
parentcc79253fa4966ee11d0a7a086b82f75b93a6c569 (diff)
parentf84af8e270f33e55af4d731510f6ae5eaaddcb5f (diff)
downloadCMake-80e93984c7597965a8fe05d9659b251d35130111.zip
CMake-80e93984c7597965a8fe05d9659b251d35130111.tar.gz
CMake-80e93984c7597965a8fe05d9659b251d35130111.tar.bz2
Merge topic 'add_test-special-chars-in-name'
f84af8e270 add_test: Allow special characters in test name Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4754
Diffstat (limited to 'Help')
-rw-r--r--Help/command/add_test.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/Help/command/add_test.rst b/Help/command/add_test.rst
index a77ba37..c0677d2 100644
--- a/Help/command/add_test.rst
+++ b/Help/command/add_test.rst
@@ -10,8 +10,9 @@ Add a test to the project to be run by :manual:`ctest(1)`.
[WORKING_DIRECTORY <dir>]
[COMMAND_EXPAND_LISTS])
-Adds a test called ``<name>``. The test name may not contain spaces,
-quotes, or other characters special in CMake syntax. The options are:
+Adds a test called ``<name>``. The test name may contain arbitrary
+characters except for double-quotes. However, if it contains spaces
+or semicolons it must be enclosed in double-quotes. The options are:
``COMMAND``
Specify the test command-line. If ``<command>`` specifies an