summaryrefslogtreecommitdiffstats
path: root/tests/CMakeLists.txt
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2015-12-27 10:50:18 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2015-12-27 10:52:56 +0100
commit2b012938ac0adaa173705c931e12f40184036183 (patch)
treeed1f65aa5c1435ef1a4dba6829d306bd1dfbf453 /tests/CMakeLists.txt
parent5eb17e7eab0cbbed0f7b7df84d745f228446703d (diff)
downloadsink-2b012938ac0adaa173705c931e12f40184036183.tar.gz
sink-2b012938ac0adaa173705c931e12f40184036183.zip
Threaded query runner implementation
All database access is now implemented in threads, to avoid blocking the main thread. The resource communication still resides in the main thread to keep the coordination simple. With it comes a test that ensures we don't block the main thread for too long.
Diffstat (limited to 'tests/CMakeLists.txt')
-rw-r--r--tests/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 5d64511..1e0f6b5 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -50,11 +50,13 @@ auto_tests (
50 querytest 50 querytest
51 databasepopulationandfacadequerybenchmark 51 databasepopulationandfacadequerybenchmark
52 dummyresourcewritebenchmark 52 dummyresourcewritebenchmark
53 modelinteractivitytest
53) 54)
54target_link_libraries(dummyresourcetest akonadi2_resource_dummy) 55target_link_libraries(dummyresourcetest akonadi2_resource_dummy)
55target_link_libraries(dummyresourcebenchmark akonadi2_resource_dummy) 56target_link_libraries(dummyresourcebenchmark akonadi2_resource_dummy)
56target_link_libraries(dummyresourcewritebenchmark akonadi2_resource_dummy) 57target_link_libraries(dummyresourcewritebenchmark akonadi2_resource_dummy)
57target_link_libraries(querytest akonadi2_resource_dummy) 58target_link_libraries(querytest akonadi2_resource_dummy)
59target_link_libraries(modelinteractivitytest akonadi2_resource_dummy)
58 60
59if (BUILD_MAILDIR) 61if (BUILD_MAILDIR)
60 auto_tests ( 62 auto_tests (