]> source.dussan.org Git - rspamd.git/commit
[Test] Pass test-case patten into test engine
authorMikhail Galanin <mgalanin@mimecast.com>
Thu, 20 Sep 2018 10:26:36 +0000 (11:26 +0100)
committerMikhail Galanin <mgalanin@mimecast.com>
Thu, 20 Sep 2018 10:26:36 +0000 (11:26 +0100)
commit99b68e8e51215eab50d33b5af0e0e12b1b497e1e
tree0ac06164c3382ad931478451a1a9b8b5ce34398f
parentd82bb62834c158a2108ceb412745b046b2990b9f
[Test] Pass test-case patten into test engine

So that now we can set which test cases should be runned:

$ ./test/rspamd-test -p /rspamd/lua -t selectors.lua -c "case .* rcpts"
$ ./test/rspamd-test -p /rspamd/lua -c "case 1st rcpts"

-c accepts Lua-pattern
test/lua/tests.lua
test/rspamd_lua_test.c
test/rspamd_test_suite.c