diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2012-12-15 04:17:10 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2012-12-15 04:17:10 +0400 |
commit | fbcc7af8a6bfb2c82d17180358bfdadf0228cddd (patch) | |
tree | 9990eedf87aa69052e646560b34372a9ad85f449 /test/CMakeLists.txt | |
parent | ebd09dbe9e4059a6e67a01a0383bed874cdf4d21 (diff) | |
download | rspamd-fbcc7af8a6bfb2c82d17180358bfdadf0228cddd.tar.gz rspamd-fbcc7af8a6bfb2c82d17180358bfdadf0228cddd.zip |
* Add simple test for rrd.
Several fixes to RRD API.
TODO: fix test building
TODO: improve update of rrd files
TODO: rework shared libraries again
Diffstat (limited to 'test/CMakeLists.txt')
-rw-r--r-- | test/CMakeLists.txt | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 322229cad..acf80497a 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -7,17 +7,21 @@ SET(TESTSRC rspamd_expression_test.c rspamd_url_test.c rspamd_dns_test.c rspamd_async_test.c - rspamd_dkim_test.c) + rspamd_dkim_test.c + rspamd_rrd_test.c) ADD_EXECUTABLE(rspamd-test EXCLUDE_FROM_ALL ${TESTSRC}) SET_TARGET_PROPERTIES(rspamd-test PROPERTIES LINKER_LANGUAGE C) SET_TARGET_PROPERTIES(rspamd-test PROPERTIES COMPILE_FLAGS "-DRSPAMD_TEST") -TARGET_LINK_LIBRARIES(rspamd-test rspamd_lua) -TARGET_LINK_LIBRARIES(rspamd-test rspamdserver) + TARGET_LINK_LIBRARIES(rspamd-test event) TARGET_LINK_LIBRARIES(rspamd-test m) TARGET_LINK_LIBRARIES(rspamd-test ${GLIB2_LIBRARIES}) TARGET_LINK_LIBRARIES(rspamd-test ${CMAKE_REQUIRED_LIBRARIES}) +TARGET_LINK_LIBRARIES(rspamd-test rspamd-mime) +TARGET_LINK_LIBRARIES(rspamd-test rspamd-server) +TARGET_LINK_LIBRARIES(rspamd-test rspamd-util) +TARGET_LINK_LIBRARIES(rspamd-test hiredis) IF(HAVE_LIBEVENT2) TARGET_LINK_LIBRARIES(rspamd-test event_pthreads) ENDIF(HAVE_LIBEVENT2) |