summaryrefslogtreecommitdiffstats
path: root/Help/command/enable_testing.rst
diff options
context:
space:
mode:
authorJoachim Wuttke (o) <j.wuttke@fz-juelich.de>2019-03-07 10:58:22 (GMT)
committerJoachim Wuttke (o) <j.wuttke@fz-juelich.de>2019-03-07 10:58:22 (GMT)
commit538e699e5a981012181e2f1a76a96848fef50caa (patch)
tree37aa793f9e200fe2e1439c7fad025c41182a775d /Help/command/enable_testing.rst
parent8f05be992172e6d65bbb23426231fa253d7f15c9 (diff)
downloadCMake-538e699e5a981012181e2f1a76a96848fef50caa.zip
CMake-538e699e5a981012181e2f1a76a96848fef50caa.tar.gz
CMake-538e699e5a981012181e2f1a76a96848fef50caa.tar.bz2
Help: for command enable_testing, explain relation to module CTest.
Diffstat (limited to 'Help/command/enable_testing.rst')
-rw-r--r--Help/command/enable_testing.rst15
1 files changed, 11 insertions, 4 deletions
diff --git a/Help/command/enable_testing.rst b/Help/command/enable_testing.rst
index e2028d2..3ac1a19 100644
--- a/Help/command/enable_testing.rst
+++ b/Help/command/enable_testing.rst
@@ -7,7 +7,14 @@ Enable testing for current directory and below.
enable_testing()
-Enables testing for this directory and below. See also the
-:command:`add_test` command. Note that ctest expects to find a test file
-in the build directory root. Therefore, this command should be in the
-source directory root.
+Enables testing for this directory and below.
+
+This command should be in the source directory root
+because ctest expects to find a test file in the build
+directory root.
+
+This command is automatically invoked when the :module:`CTest`
+module is included, except if the ``BUILD_TESTING`` option is
+turned off.
+
+See also the :command:`add_test` command.