aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.lima@openbossa.org>2010-06-16 14:55:26 -0300
committerHugo Parente Lima <hugo.lima@openbossa.org>2010-06-16 14:55:26 -0300
commitab40ddbb2f06ceaceda886d386583f25e03cd640 (patch)
treefefe9a6ab0f9a890a3d1a4440d95cc40b8c65a28 /tests
parente0c46d67613fe8c38c3bee6b99ae58260cb33260 (diff)
Fix LD_LIBRARY_PATH variable to be possible to run tests when using CMAKE_SKIP_RPATH=true
Diffstat (limited to 'tests')
-rw-r--r--tests/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index d446151d..7938ea7a 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -16,7 +16,7 @@ macro(PYSIDE_TEST)
else()
message(WARNING "Ivalid call of macro PYSIDE_TEST")
endif()
- set(TEST_CMD ${CMAKE_SOURCE_DIR}/tests/run_test.sh ${CMAKE_BINARY_DIR} "${CMAKE_BINARY_DIR}:${CMAKE_SOURCE_DIR}/tests/util" ${PYTHON_EXECUTABLE} "${CMAKE_CURRENT_SOURCE_DIR}/${ARGV0}")
+ set(TEST_CMD ${CMAKE_SOURCE_DIR}/tests/run_test.sh ${libpyside_BINARY_DIR} "${CMAKE_BINARY_DIR}:${CMAKE_SOURCE_DIR}/tests/util" ${PYTHON_EXECUTABLE} "${CMAKE_CURRENT_SOURCE_DIR}/${ARGV0}")
add_test(${TEST_NAME} ${TEST_CMD})
set_tests_properties(${TEST_NAME} PROPERTIES
TIMEOUT ${PYSIDE_TIMEOUT}