summaryrefslogtreecommitdiffstats
path: root/Help/command
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-07-28 12:22:20 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-07-28 12:24:34 (GMT)
commit40d3f5a22741118ae57280c1540f16a2b744277e (patch)
treec0351fc4f5c4b3eb63eecee8a08d8c674d866000 /Help/command
parent1091e641770b2de8a49cb0e675dbee70215426ba (diff)
parent5fc5f4d26ed0736f4023d1aa1de2aa24d4df15af (diff)
downloadCMake-40d3f5a22741118ae57280c1540f16a2b744277e.zip
CMake-40d3f5a22741118ae57280c1540f16a2b744277e.tar.gz
CMake-40d3f5a22741118ae57280c1540f16a2b744277e.tar.bz2
Merge topic 'revert-add_test-special-chars'
5fc5f4d26e add_test: Revert "Allow special characters in test name" Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5067
Diffstat (limited to 'Help/command')
-rw-r--r--Help/command/add_test.rst5
1 files changed, 2 insertions, 3 deletions
diff --git a/Help/command/add_test.rst b/Help/command/add_test.rst
index c0677d2..a77ba37 100644
--- a/Help/command/add_test.rst
+++ b/Help/command/add_test.rst
@@ -10,9 +10,8 @@ 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 contain arbitrary
-characters except for double-quotes. However, if it contains spaces
-or semicolons it must be enclosed in double-quotes. The options are:
+Adds a test called ``<name>``. The test name may not contain spaces,
+quotes, or other characters special in CMake syntax. The options are:
``COMMAND``
Specify the test command-line. If ``<command>`` specifies an