diff options
author | Craig Scott <craig.scott@crascit.com> | 2018-02-27 11:28:33 (GMT) |
---|---|---|
committer | Craig Scott <craig.scott@crascit.com> | 2018-02-27 11:28:33 (GMT) |
commit | 92a4c236f62e7266204002df2dc2fe8820e299d6 (patch) | |
tree | 6f295a1309694d5933f268883909587b3b7a514b | |
parent | 464ae1bcc0f3b3264934c1f6c756e5ef919d3f2b (diff) | |
download | CMake-92a4c236f62e7266204002df2dc2fe8820e299d6.zip CMake-92a4c236f62e7266204002df2dc2fe8820e299d6.tar.gz CMake-92a4c236f62e7266204002df2dc2fe8820e299d6.tar.bz2 |
Help: Fix wrong default for WORKING_DIRECTORY test property
-rw-r--r-- | Help/prop_test/WORKING_DIRECTORY.rst | 6 |
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). |