diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-02-09 10:52:31 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-02-09 10:52:31 +0000 |
commit | c4e4a60be8bde947c7a93841fc90a9e31ebc6f1e (patch) | |
tree | ef4c6711ea07d4db0db5d321cb3f03bec764168b /test | |
parent | 58725e3ff089be792a32fc067390a052d8e9e72d (diff) | |
download | rspamd-c4e4a60be8bde947c7a93841fc90a9e31ebc6f1e.tar.gz rspamd-c4e4a60be8bde947c7a93841fc90a9e31ebc6f1e.zip |
Small fixes.
Diffstat (limited to 'test')
-rw-r--r-- | test/CMakeLists.txt | 3 | ||||
-rw-r--r-- | test/rspamd_http_test.c | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 0684a6026..99c825199 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -17,10 +17,13 @@ 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-stat) 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 rspamd-lua) +TARGET_LINK_LIBRARIES(rspamd-test rspamd-cryptobox) +TARGET_LINK_LIBRARIES(rspamd-test stemmer) TARGET_LINK_LIBRARIES(rspamd-test event) IF(HAVE_LIBEVENT2) diff --git a/test/rspamd_http_test.c b/test/rspamd_http_test.c index 581a4c284..cdcfef967 100644 --- a/test/rspamd_http_test.c +++ b/test/rspamd_http_test.c @@ -27,6 +27,7 @@ #include "http.h" #include "tests.h" #include "ottery.h" +#include "cryptobox.h" static const int file_blocks = 8; static const int pconns = 100; |