summaryrefslogtreecommitdiffstats
path: root/Help/prop_test
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@crascit.com>2018-02-27 11:28:33 (GMT)
committerCraig Scott <craig.scott@crascit.com>2018-02-27 11:28:33 (GMT)
commit92a4c236f62e7266204002df2dc2fe8820e299d6 (patch)
tree6f295a1309694d5933f268883909587b3b7a514b /Help/prop_test
parent464ae1bcc0f3b3264934c1f6c756e5ef919d3f2b (diff)
downloadCMake-92a4c236f62e7266204002df2dc2fe8820e299d6.zip
CMake-92a4c236f62e7266204002df2dc2fe8820e299d6.tar.gz
CMake-92a4c236f62e7266204002df2dc2fe8820e299d6.tar.bz2
Help: Fix wrong default for WORKING_DIRECTORY test property
Diffstat (limited to 'Help/prop_test')
-rw-r--r--Help/prop_test/WORKING_DIRECTORY.rst6
1 files changed, 4 insertions, 2 deletions
diff --git a/Help/prop_test/WORKING_DIRECTORY.rst b/Help/prop_test/WORKING_DIRECTORY.rst
index 5222a19..92a0409 100644
--- a/Help/prop_test/WORKING_DIRECTORY.rst
+++ b/Help/prop_test/WORKING_DIRECTORY.rst
@@ -3,5 +3,7 @@ WORKING_DIRECTORY
The directory from which the test executable will be called.
-If this is not set it is called from the directory the test executable
-is located in.
+If this is not set, the test will be run with the working directory set to the
+binary directory associated with where the test was created (i.e. the
+:variable:`CMAKE_CURRENT_BINARY_DIR` for where :command:`add_test` was
+called).