From e40b79e79fc0beb0a71889817f21bf196a892b09 Mon Sep 17 00:00:00 2001 From: Clinton Stimpson Date: Fri, 27 May 2011 17:06:35 -0600 Subject: [PATCH] BundleUtilities: Fix test when using xcode (#12034) --- Tests/BundleUtilities/bundleutils.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/BundleUtilities/bundleutils.cmake b/Tests/BundleUtilities/bundleutils.cmake index 4a42a3a08..4df2f2dfe 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")