From 92a4c236f62e7266204002df2dc2fe8820e299d6 Mon Sep 17 00:00:00 2001 From: Craig Scott Date: Tue, 27 Feb 2018 22:28:33 +1100 Subject: Help: Fix wrong default for WORKING_DIRECTORY test property --- Help/prop_test/WORKING_DIRECTORY.rst | 6 ++++-- 1 file 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). -- cgit v0.12