summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2010-12-17 16:07:19 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2010-12-17 16:07:19 (GMT)
commitcfe53cddbde124864ffb0500475bc1c1cbd3ddbc (patch)
tree9e1ae727ff548e70ed6b05011e6e9d5035da6266 /Tests
parent017d4e9d2ce1544aab44f87204b5195e0c062812 (diff)
downloadCMake-cfe53cddbde124864ffb0500475bc1c1cbd3ddbc.zip
CMake-cfe53cddbde124864ffb0500475bc1c1cbd3ddbc.tar.gz
CMake-cfe53cddbde124864ffb0500475bc1c1cbd3ddbc.tar.bz2
Fully specify the path to old-signature add_test
Diffstat (limited to 'Tests')
-rw-r--r--Tests/TestsWorkingDirectory/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/TestsWorkingDirectory/CMakeLists.txt b/Tests/TestsWorkingDirectory/CMakeLists.txt
index 1bc0705..24dc5e6 100644
--- a/Tests/TestsWorkingDirectory/CMakeLists.txt
+++ b/Tests/TestsWorkingDirectory/CMakeLists.txt
@@ -25,7 +25,7 @@ get_filename_component(_default_cwd "${EXECUTABLE_OUTPUT_PATH}" PATH)
# FIXME: How to deal with /debug, /release, etc. with VS or XCode?
if(${CMAKE_GENERATOR} MATCHES "Makefiles")
-add_test(WorkingDirectory3 WorkingDirectory)
+add_test(WorkingDirectory3 ${EXECUTABLE_OUTPUT_PATH}/WorkingDirectory)
set_tests_properties(WorkingDirectory3 PROPERTIES
PASS_REGULAR_EXPRESSION "Working directory: -->${_default_cwd}<--"
)
@@ -45,7 +45,7 @@ set_tests_properties(WorkingDirectory5 PROPERTIES
# FIXME: How to deal with /debug, /release, etc. with VS or XCode?
if(${CMAKE_GENERATOR} MATCHES "Makefiles")
-add_test(WorkingDirectory6 WorkingDirectory WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/..)
+add_test(WorkingDirectory6 ${EXECUTABLE_OUTPUT_PATH}/WorkingDirectory WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/..)
set_tests_properties(WorkingDirectory6 PROPERTIES
PASS_REGULAR_EXPRESSION "Working directory: -->${_default_cwd}<--"
)