diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-12-27 10:50:18 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-12-27 10:52:56 +0100 |
commit | 2b012938ac0adaa173705c931e12f40184036183 (patch) | |
tree | ed1f65aa5c1435ef1a4dba6829d306bd1dfbf453 /tests/CMakeLists.txt | |
parent | 5eb17e7eab0cbbed0f7b7df84d745f228446703d (diff) | |
download | sink-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.txt | 2 |
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 | ) |
54 | target_link_libraries(dummyresourcetest akonadi2_resource_dummy) | 55 | target_link_libraries(dummyresourcetest akonadi2_resource_dummy) |
55 | target_link_libraries(dummyresourcebenchmark akonadi2_resource_dummy) | 56 | target_link_libraries(dummyresourcebenchmark akonadi2_resource_dummy) |
56 | target_link_libraries(dummyresourcewritebenchmark akonadi2_resource_dummy) | 57 | target_link_libraries(dummyresourcewritebenchmark akonadi2_resource_dummy) |
57 | target_link_libraries(querytest akonadi2_resource_dummy) | 58 | target_link_libraries(querytest akonadi2_resource_dummy) |
59 | target_link_libraries(modelinteractivitytest akonadi2_resource_dummy) | ||
58 | 60 | ||
59 | if (BUILD_MAILDIR) | 61 | if (BUILD_MAILDIR) |
60 | auto_tests ( | 62 | auto_tests ( |