tests/CMakeLists.txt
Christian Mollekopf
mollekopf at kolabsys.com
Wed Feb 20 01:58:28 CET 2013
tests/CMakeLists.txt | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit c1723791e357c2b4671408711bb9f64a3fe99a43
Author: Christian Mollekopf <mollekopf at kolabsys.com>
Date: Wed Feb 20 01:57:09 2013 +0100
Include php tests into "make test".
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 63c06cb..acb2a18 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -9,6 +9,10 @@ if (NOT APPLE)
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wl,--no-undefined" )
endif()
+if(PHP_BINDINGS)
+ add_test(NAME phptest COMMAND php -d enable_dl=On -d include_path='.:/usr/share/pear:${CMAKE_BINARY_DIR}/src/php' -d extension=${CMAKE_BINARY_DIR}/src/php/kolabformat.so ${CMAKE_SOURCE_DIR}/src/php/test.php --verbose)
+endif()
+
if (QT4_FOUND)
message("Buildings tests")
QT4_AUTOMOC(bindingstest.cpp)
More information about the commits
mailing list