summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt2
-rw-r--r--fbdaemon/tests/CMakeLists.txt4
2 files changed, 6 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d8ad6cd..27776fa 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -71,6 +71,8 @@ set(COMMON_DEPENDENCIES
${KDE_LIBRARIES}
)
+enable_testing()
+
add_subdirectory(lib)
include_directories(${CMAKE_CURRENT_BINARY_DIR})
diff --git a/fbdaemon/tests/CMakeLists.txt b/fbdaemon/tests/CMakeLists.txt
index 6c90357..67d32eb 100644
--- a/fbdaemon/tests/CMakeLists.txt
+++ b/fbdaemon/tests/CMakeLists.txt
@@ -19,12 +19,16 @@ QT4_AUTOMOC("${FBTEST_SRCS}")
add_executable(fbaggregatortest fbaggregatortest.cpp cyrusfakeserver.cpp)
target_link_libraries(fbaggregatortest ${FBTEST_DEPENDENCIES})
+add_test(fbaggregatortest fbaggregatortest)
add_executable(fbgeneratortest fbgeneratortest.cpp cyrusfakeserver.cpp)
target_link_libraries(fbgeneratortest ${FBTEST_DEPENDENCIES})
+add_test(fbgeneratortest fbgeneratortest)
add_executable(fbgeneratorfoldertest fbgeneratorfoldertest.cpp cyrusfakeserver.cpp)
target_link_libraries(fbgeneratorfoldertest ${FBTEST_DEPENDENCIES})
+add_test(fbgeneratorfoldertest fbgeneratorfoldertest)
add_executable(daemonconnectiontest daemonconnectiontest.cpp cyrusfakeserver.cpp)
target_link_libraries(daemonconnectiontest ${FBTEST_DEPENDENCIES})
+add_test(daemonconnectiontest daemonconnectiontest)