summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@crascit.com>2018-02-28 21:45:55 (GMT)
committerKitware Robot <kwrobot@kitware.com>2018-02-28 21:46:15 (GMT)
commit730eeceb75bf9c9074f5abb8bcf6f3ed41115d2b (patch)
treec1d4ee4323318e625d906d1f5372c43208a0ec51
parent82de05088f762371c6cd753ae19533dc9f5cd6b2 (diff)
parent92a4c236f62e7266204002df2dc2fe8820e299d6 (diff)
downloadCMake-730eeceb75bf9c9074f5abb8bcf6f3ed41115d2b.zip
CMake-730eeceb75bf9c9074f5abb8bcf6f3ed41115d2b.tar.gz
CMake-730eeceb75bf9c9074f5abb8bcf6f3ed41115d2b.tar.bz2
Merge topic 'doc_test_prop_WORKING_DIRECTORY'
92a4c236f6 Help: Fix wrong default for WORKING_DIRECTORY test property Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Brad King <brad.king@kitware.com> Merge-request: !1806
-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).