diff options
author | Deniz Bahadir <dbahadir@benocs.com> | 2020-05-15 23:52:34 (GMT) |
---|---|---|
committer | Deniz Bahadir <dbahadir@benocs.com> | 2020-05-17 08:53:14 (GMT) |
commit | f84af8e270f33e55af4d731510f6ae5eaaddcb5f (patch) | |
tree | 651842648a61a0d1d8b8affa5f73323c518bdc8d /Help/command/add_test.rst | |
parent | ec1b3992dbfb54edb777988766440295f1f1f1d3 (diff) | |
download | CMake-f84af8e270f33e55af4d731510f6ae5eaaddcb5f.zip CMake-f84af8e270f33e55af4d731510f6ae5eaaddcb5f.tar.gz CMake-f84af8e270f33e55af4d731510f6ae5eaaddcb5f.tar.bz2 |
add_test: Allow special characters in test name
Fixes: #19391
Diffstat (limited to 'Help/command/add_test.rst')
-rw-r--r-- | Help/command/add_test.rst | 5 |
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 |