aboutsummaryrefslogtreecommitdiffstats
path: root/test/rspamd_test_suite.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-03-05 18:58:00 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-03-05 18:58:00 +0000
commit20df05fe8db123c5b70158ccddd5f5373a4b9a04 (patch)
tree102687fdb184abe0762014092c9dab40796bb1ab /test/rspamd_test_suite.c
parentae364403ff9e4c9ab0a9a1536c4ae683ee2eccf1 (diff)
downloadrspamd-20df05fe8db123c5b70158ccddd5f5373a4b9a04.tar.gz
rspamd-20df05fe8db123c5b70158ccddd5f5373a4b9a04.zip
Initialize regexp library.
Diffstat (limited to 'test/rspamd_test_suite.c')
-rw-r--r--test/rspamd_test_suite.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/rspamd_test_suite.c b/test/rspamd_test_suite.c
index 1023c5cf0..8df36be55 100644
--- a/test/rspamd_test_suite.c
+++ b/test/rspamd_test_suite.c
@@ -1,6 +1,7 @@
#include "config.h"
#include "main.h"
#include "cfg_file.h"
+#include "regexp.h"
#include "tests.h"
struct rspamd_main *rspamd_main = NULL;
@@ -33,6 +34,7 @@ main (int argc, char **argv)
#endif
g_mime_init (0);
+ rspamd_regexp_library_init ();
base = event_init ();
@@ -62,6 +64,7 @@ main (int argc, char **argv)
g_test_run ();
g_mime_shutdown ();
+ rspamd_regexp_library_finalize ();
return 0;
}