aboutsummaryrefslogtreecommitdiffstats
path: root/test/rspamd_test_suite.c
diff options
context:
space:
mode:
authorMikhail Galanin <mgalanin@mimecast.com>2018-08-20 10:27:12 +0100
committerMikhail Galanin <mgalanin@mimecast.com>2018-08-20 10:27:12 +0100
commit5dd0a6b7fb33537a0a80c250502b692175d71581 (patch)
tree7a105dc7ff307883b792971c930a4b5ce4c3e871 /test/rspamd_test_suite.c
parent3b5ba9b74e772d9de998350c03e10fb621dc7a3e (diff)
downloadrspamd-5dd0a6b7fb33537a0a80c250502b692175d71581.tar.gz
rspamd-5dd0a6b7fb33537a0a80c250502b692175d71581.zip
[Minor] Benchmark for lua calls
Diffstat (limited to 'test/rspamd_test_suite.c')
-rw-r--r--test/rspamd_test_suite.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/rspamd_test_suite.c b/test/rspamd_test_suite.c
index 2f8e893de..2ea73eff3 100644
--- a/test/rspamd_test_suite.c
+++ b/test/rspamd_test_suite.c
@@ -10,7 +10,7 @@ worker_t *workers[] = { NULL };
int
main (int argc, char **argv)
{
- struct rspamd_config *cfg;
+ struct rspamd_config *cfg;
rspamd_main = (struct rspamd_main *)g_malloc (sizeof (struct rspamd_main));
memset (rspamd_main, 0, sizeof (struct rspamd_main));
@@ -52,6 +52,7 @@ main (int argc, char **argv)
g_test_add_func ("/rspamd/lua", rspamd_lua_test_func);
g_test_add_func ("/rspamd/cryptobox", rspamd_cryptobox_test_func);
g_test_add_func ("/rspamd/heap", rspamd_heap_test_func);
+ g_test_add_func ("/rspamd/lua_pcall", rspamd_lua_lua_pcall_vs_resume_test_func);
#if 0
g_test_add_func ("/rspamd/url", rspamd_url_test_func);