diff options
Diffstat (limited to 'test/rspamd_test_suite.c')
-rw-r--r-- | test/rspamd_test_suite.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/rspamd_test_suite.c b/test/rspamd_test_suite.c index 0be3091d9..10a5d941b 100644 --- a/test/rspamd_test_suite.c +++ b/test/rspamd_test_suite.c @@ -8,12 +8,15 @@ struct event_base *base = NULL; worker_t *workers[] = { NULL }; gchar *lua_test = NULL; +gchar *lua_test_case = NULL; gboolean verbose = FALSE; static GOptionEntry entries[] = { { "test", 't', 0, G_OPTION_ARG_STRING, &lua_test, "Lua test to run (i.e. selectors.lua)", NULL }, + { "test-case", 'c', 0, G_OPTION_ARG_STRING, &lua_test_case, + "Lua test to run, lua pattern i.e. \"case .* rcpts\"", NULL }, { NULL, 0, 0, G_OPTION_ARG_NONE, NULL, NULL, NULL } }; |