[Kde-bindings] branches/KDE/4.4/kdebindings/php/phpqt
Richard Dale
Richard_Dale at tipitina.demon.co.uk
Tue Feb 2 17:43:40 UTC 2010
SVN commit 1084202 by rdale:
* Attempt to run the unit tests where PHPQt was built, although they still fail
CCMAIL: kde-bindings at kde.org
M +3 -3 CMakeLists.txt
--- branches/KDE/4.4/kdebindings/php/phpqt/CMakeLists.txt #1084201:1084202
@@ -53,11 +53,11 @@
MESSAGE(STATUS "phpunit found: configuring for tests")
ENABLE_TESTING()
SET(RUNTIME_OUTPUT_DIRECTORY_ORIG)
- SET(RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}"/tests/")
+ SET(RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BUILD_DIR}php/phpqt"/tests/")
- CONFIGURE_FILE( ${CMAKE_CURRENT_SOURCE_DIR}/tests/config.php.conf ${CMAKE_BUILD_DIR}config.php @ONLY )
+ CONFIGURE_FILE( ${CMAKE_CURRENT_SOURCE_DIR}/tests/config.php.conf ${CMAKE_BUILD_DIR}php/phpqt/tests/config.php @ONLY )
FOREACH(TEST_CASE ${PHPQT_TEST_FILES} )
- CONFIGURE_FILE( ${CMAKE_CURRENT_SOURCE_DIR}/tests/${TEST_CASE} ${CMAKE_BUILD_DIR}${TEST_CASE} COPYONLY )
+ CONFIGURE_FILE( ${CMAKE_CURRENT_SOURCE_DIR}/tests/${TEST_CASE} ${CMAKE_BUILD_DIR}php/phpqt/tests/${TEST_CASE} COPYONLY )
ADD_TEST( ${TEST_CASE} ${PHPUNIT_EXECUTABLE} --log-tap ${TEST_CASE}.log ${TEST_CASE} )
MESSAGE(STATUS "added "${TEST_CASE} )
ENDFOREACH(TEST_CASE)
More information about the Kde-bindings
mailing list