summaryrefslogtreecommitdiff
path: root/Help/command/enable_testing.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Help/command/enable_testing.rst')
-rw-r--r--Help/command/enable_testing.rst13
1 files changed, 13 insertions, 0 deletions
diff --git a/Help/command/enable_testing.rst b/Help/command/enable_testing.rst
new file mode 100644
index 000000000..1e3e2799c
--- /dev/null
+++ b/Help/command/enable_testing.rst
@@ -0,0 +1,13 @@
+enable_testing
+--------------
+
+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.