summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorClinton Stimpson <clinton@elemtech.com>2011-05-27 23:06:35 (GMT)
committerDavid Cole <david.cole@kitware.com>2011-05-31 17:12:58 (GMT)
commite40b79e79fc0beb0a71889817f21bf196a892b09 (patch)
tree4fa84627240b395a8d8ac179f1edfe9184b55754 /Tests
parentb68d3dc1b5a7b783b9624c6ae4a06e2a70e30b55 (diff)
downloadCMake-e40b79e79fc0beb0a71889817f21bf196a892b09.zip
CMake-e40b79e79fc0beb0a71889817f21bf196a892b09.tar.gz
CMake-e40b79e79fc0beb0a71889817f21bf196a892b09.tar.bz2
BundleUtilities: Fix test when using xcode (#12034)
Diffstat (limited to 'Tests')
-rw-r--r--Tests/BundleUtilities/bundleutils.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/BundleUtilities/bundleutils.cmake b/Tests/BundleUtilities/bundleutils.cmake
index 4a42a3a..4df2f2d 100644
--- a/Tests/BundleUtilities/bundleutils.cmake
+++ b/Tests/BundleUtilities/bundleutils.cmake
@@ -37,7 +37,7 @@ include(BundleUtilities)
fixup_bundle("${OUTPUT}" "${OUTPUT_MODULE}" "${INPUTDIR}")
# make sure we can run the app
-execute_process(COMMAND "${OUTPUT}" RESULT_VARIABLE result)
+execute_process(COMMAND "${OUTPUT}" RESULT_VARIABLE result WORKING_DIRECTORY "${EXE_DIR}")
if(NOT result STREQUAL "0")
message(FATAL_ERROR " failed to execute test program")