summaryrefslogtreecommitdiffstats
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 0000000..41ecd5b
--- /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 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.