Commit Graph

55 Commits

Author SHA1 Message Date
Vsevolod Stakhov
f75769f242 [Minor] Fix tests 2018-11-21 12:39:30 +00:00
Mikhail Galanin
99b68e8e51 [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
2018-09-20 11:26:36 +01:00
Mikhail Galanin
57d19346b6 [Test] Added key to run specifig lua-test
example:
$ ./test/rspamd-test -p /rspamd/lua -t selectors.lua

no way to run two test suites atm
2018-09-19 15:42:38 +01:00
Mikhail Galanin
dedc18fecc [Test] Init URL parser before running unit tests 2018-09-19 10:11:52 +01:00
Mikhail Galanin
5dd0a6b7fb [Minor] Benchmark for lua calls 2018-08-20 10:27:12 +01:00
Vsevolod Stakhov
25ef6b9821 [Project] Rework rspamadm and Lua init path 2018-05-24 19:56:05 +01:00
Vsevolod Stakhov
1d3e32fe02 [Test] Improve URL unit tests 2018-03-30 09:34:34 +01:00
Vsevolod Stakhov
f22e29d1bf [Test] Add tests, fix normalization algorithm 2017-01-08 18:59:56 +00:00
Vsevolod Stakhov
747f2839b0 [Feature] Add mime tool to explore messages 2016-12-14 13:42:48 +00:00
Vsevolod Stakhov
f3d15b0d92 [Test] Disable broken tests 2016-04-28 09:18:00 +01:00
Vsevolod Stakhov
3789f106c1 [Feature] Add unit tests for heap 2016-04-08 21:30:14 +01:00
Vsevolod Stakhov
0e7f9f3d46 Store event base in statistics library 2016-01-06 15:25:07 +00:00
Vsevolod Stakhov
c3896936f5 Fix tests 2015-11-20 16:33:34 +00:00
Vsevolod Stakhov
eb737947eb Reorganize includes to reduce namespace pollution. 2015-10-08 13:15:15 +01:00
Vsevolod Stakhov
3afc4aba24 Rename main.h and main.c to rspamd.X 2015-09-22 18:17:24 +01:00
Vsevolod Stakhov
b05c7c9edd Add tags to rspamd_mempool. 2015-08-27 17:36:29 +01:00
Vsevolod Stakhov
ab15b9a3c9 Remove legacy fuzzy code completely. 2015-07-18 00:10:56 +01:00
Vsevolod Stakhov
7eadc580cf Fix unit test building and starting. 2015-07-14 14:45:46 +01:00
Vsevolod Stakhov
045971cbb8 Add unit test for cryptobox. 2015-05-07 12:25:11 +01:00
Vsevolod Stakhov
92ba37c087 Fix tests build. 2015-04-17 22:06:14 +01:00
Vsevolod Stakhov
30cdb0547e Remove deprecated test. 2015-03-24 13:51:46 +00:00
Vsevolod Stakhov
20df05fe8d Initialize regexp library. 2015-03-05 18:58:00 +00:00
Vsevolod Stakhov
e4cc017c5d Rework lua tests one more time. 2015-02-28 00:11:56 +00:00
Vsevolod Stakhov
0c5dfb9541 Rework lua tests structure, require external busted. 2015-02-27 17:12:41 +00:00
Vsevolod Stakhov
2f20e4f7fe Add lua test framework. 2015-02-27 15:33:58 +00:00
Vsevolod Stakhov
984c43f649 Add HTTP connections speed test. 2015-02-04 17:05:53 +00:00
Vsevolod Stakhov
7404cdceee Add some tests for shingles. 2014-12-17 17:27:57 +00:00
Vsevolod Stakhov
d2150fc165 Refactor function names. 2014-11-29 17:03:24 +00:00
Vsevolod Stakhov
89442fca48 Add a simple upstreams test. 2014-11-02 18:38:43 +00:00
Vsevolod Stakhov
40e2310e65 Add cleanup. 2014-09-18 14:16:46 +01:00
Vsevolod Stakhov
e4846184c2 Rework radix tests. 2014-09-17 16:37:46 +01:00
Vsevolod Stakhov
aa48f9df19 Add radix trie test suite. 2014-09-12 12:18:55 +01:00
Vsevolod Stakhov
491e42b434 Restore testing framework. 2014-09-12 11:56:42 +01:00
Vsevolod Stakhov
d6643f35d7 Refactor config API. 2014-04-30 13:26:51 +01:00
Vsevolod Stakhov
ad837700b8 Refactor memory pool naming. 2014-04-20 08:16:49 -07:00
Vsevolod Stakhov
5607e21b22 Improve test suite by using standard glib test options. 2013-08-21 15:12:24 +01:00
Vsevolod Stakhov
07011527b9 Add a test suite for rcl. 2013-08-09 16:53:32 +01:00
Vsevolod Stakhov
fbcc7af8a6 * Add simple test for rrd.
Several fixes to RRD API.

TODO: fix test building
TODO: improve update of rrd files
TODO: rework shared libraries again
2012-12-15 04:17:10 +04:00
Vsevolod Stakhov
851ffca79a * Write tests for DKIM signature and key parsers.
Fix DKIM parsers.
2012-05-29 03:07:23 +04:00
Vsevolod Stakhov
448ba92d15 Fixed threading for testing suite. 2012-03-05 18:58:50 +04:00
Vsevolod Stakhov
4f28edb3f5 Fix asynchronous IO API.
Write test case for aio.
2012-03-01 21:57:09 +04:00
Vsevolod Stakhov
9d70356009 Separate librspamdserver API from plugins and workers functions.
Make tests compileable again.
2012-03-01 20:14:32 +04:00
Vsevolod Stakhov
1fd435e5d4 * Rework build process:
- add librspamdserver
 - link this library to all daemons and utils of rspamd
 - use subdirectories more often
* Rework global variables logic - move them to the main process
* Fix logging to handle utf-8 correctly
* Add statshow utility and make it working
* Move printf functions to separate source file
2011-05-10 19:15:03 +04:00
Vsevolod Stakhov
3d1c40c972 * Make DNS resolver working
* Many improvements to rspamd test suite: now it CAN be used for testing rspamd functionality
* Write DNS resolver tests
* Fix issues with memory_pool mutexes and with creating of statfiles
2010-07-08 20:07:07 +04:00
Vsevolod Stakhov
a0f41f7c57 * New system of classifiers interface and statfiles processing
* Fix sample config
* Fix compile warnings
* Fix building without lua support
* Fix bugs with nrcpt header parsing and symbols cache loading (by Anton Nekhoroshikh)
2009-09-14 19:11:19 +04:00
Vsevolod Stakhov
05556b30f9 * Add counters for rspamd symbols
* Fix shared hashes
2009-05-04 18:55:12 +04:00
Vsevolod Stakhov
afdaddc4d0 * Add fuzzy hashes implementation (with adler-32 roll hash and FNV-32 hash)
* Add test case for fuzzy hashing check
2009-03-20 18:35:30 +03:00
Vsevolod Stakhov
06661f20cb * Write functions to operate blocks in stat files
* Write test case for statistics files API
2008-11-28 19:29:00 +03:00
Vsevolod Stakhov
2aa9c74f1c * Reorganize structure of source files
* Adopt build system for new structure

--HG--
rename : cfg_file.h => src/cfg_file.h
rename : cfg_file.l => src/cfg_file.l
rename : cfg_file.y => src/cfg_file.y
rename : cfg_utils.c => src/cfg_utils.c
rename : controller.c => src/controller.c
rename : filter.c => src/filter.c
rename : filter.h => src/filter.h
rename : fstring.c => src/fstring.c
rename : fstring.h => src/fstring.h
rename : main.c => src/main.c
rename : main.h => src/main.h
rename : mem_pool.c => src/mem_pool.c
rename : mem_pool.h => src/mem_pool.h
rename : memcached-test.c => src/memcached-test.c
rename : memcached.c => src/memcached.c
rename : memcached.h => src/memcached.h
rename : perl.c => src/perl.c
rename : perl.h => src/perl.h
rename : plugins/regexp.c => src/plugins/regexp.c
rename : plugins/surbl.c => src/plugins/surbl.c
rename : protocol.c => src/protocol.c
rename : protocol.h => src/protocol.h
rename : upstream.c => src/upstream.c
rename : upstream.h => src/upstream.h
rename : url.c => src/url.c
rename : url.h => src/url.h
rename : util.c => src/util.c
rename : util.h => src/util.h
rename : worker.c => src/worker.c
2008-11-01 18:01:05 +03:00
cebka@cebka-laptop
da93e9d635 * Implement expression parser (convertor to inverse polish record)
* Improve configure system by implementing dependencies
* Add .depend files for subdirs that requre it
* Write simple test for expressions parser
2008-10-13 19:06:07 +04:00