Commit ddb3dfdf authored by Andy Cedilnik's avatar Andy Cedilnik
Browse files

ENH: Specify full path to the executable

parent 3de70102
......@@ -428,12 +428,17 @@ IF(KWSYS_STANDALONE)
TARGET_LINK_LIBRARIES(test1 ${KWSYS_NAMESPACE})
TARGET_LINK_LIBRARIES(testCommandLineArguments ${KWSYS_NAMESPACE})
SET(EXEC_DIR "${CMAKE_CURRENT_BINARY_DIR}")
IF(EXECUTABLE_OUTPUT_PATH)
SET(EXEC_DIR "${EXECUTABLE_OUTPUT_PATH}")
ENDIF(EXECUTABLE_OUTPUT_PATH)
IF(BUILD_TESTING)
ADD_TEST(testProcess-1 testProcess 1)
ADD_TEST(testProcess-2 testProcess 2)
ADD_TEST(testProcess-3 testProcess 3)
ADD_TEST(testProcess-4 testProcess 4)
ADD_TEST(testProcess-5 testProcess 5)
ADD_TEST(testProcess-6 testProcess 6)
ADD_TEST(testProcess-1 ${EXEC_DIR}/testProcess 1)
ADD_TEST(testProcess-2 ${EXEC_DIR}/testProcess 2)
ADD_TEST(testProcess-3 ${EXEC_DIR}/testProcess 3)
ADD_TEST(testProcess-4 ${EXEC_DIR}/testProcess 4)
ADD_TEST(testProcess-5 ${EXEC_DIR}/testProcess 5)
ADD_TEST(testProcess-6 ${EXEC_DIR}/testProcess 6)
ENDIF(BUILD_TESTING)
ENDIF(KWSYS_STANDALONE)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment