Vsevolod Stakhov
f75769f242
[Minor] Fix tests
5 anni fa
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
5 anni fa
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
5 anni fa
Mikhail Galanin
dedc18fecc
[Test] Init URL parser before running unit tests
5 anni fa
Mikhail Galanin
5dd0a6b7fb
[Minor] Benchmark for lua calls
5 anni fa
Vsevolod Stakhov
25ef6b9821
[Project] Rework rspamadm and Lua init path
6 anni fa
Vsevolod Stakhov
1d3e32fe02
[Test] Improve URL unit tests
6 anni fa
Vsevolod Stakhov
f22e29d1bf
[Test] Add tests, fix normalization algorithm
7 anni fa
Vsevolod Stakhov
747f2839b0
[Feature] Add mime tool to explore messages
7 anni fa
Vsevolod Stakhov
f3d15b0d92
[Test] Disable broken tests
8 anni fa
Vsevolod Stakhov
3789f106c1
[Feature] Add unit tests for heap
8 anni fa
Vsevolod Stakhov
0e7f9f3d46
Store event base in statistics library
8 anni fa
Vsevolod Stakhov
c3896936f5
Fix tests
8 anni fa
Vsevolod Stakhov
eb737947eb
Reorganize includes to reduce namespace pollution.
8 anni fa
Vsevolod Stakhov
3afc4aba24
Rename main.h and main.c to `rspamd.X`
8 anni fa
Vsevolod Stakhov
b05c7c9edd
Add tags to rspamd_mempool.
9 anni fa
Vsevolod Stakhov
ab15b9a3c9
Remove legacy fuzzy code completely.
9 anni fa
Vsevolod Stakhov
7eadc580cf
Fix unit test building and starting.
9 anni fa
Vsevolod Stakhov
045971cbb8
Add unit test for cryptobox.
9 anni fa
Vsevolod Stakhov
92ba37c087
Fix tests build.
9 anni fa
Vsevolod Stakhov
30cdb0547e
Remove deprecated test.
9 anni fa
Vsevolod Stakhov
20df05fe8d
Initialize regexp library.
9 anni fa
Vsevolod Stakhov
e4cc017c5d
Rework lua tests one more time.
9 anni fa
Vsevolod Stakhov
0c5dfb9541
Rework lua tests structure, require external busted.
9 anni fa
Vsevolod Stakhov
2f20e4f7fe
Add lua test framework.
9 anni fa
Vsevolod Stakhov
984c43f649
Add HTTP connections speed test.
9 anni fa
Vsevolod Stakhov
7404cdceee
Add some tests for shingles.
9 anni fa
Vsevolod Stakhov
d2150fc165
Refactor function names.
9 anni fa
Vsevolod Stakhov
89442fca48
Add a simple upstreams test.
9 anni fa
Vsevolod Stakhov
40e2310e65
Add cleanup.
9 anni fa
Vsevolod Stakhov
e4846184c2
Rework radix tests.
9 anni fa
Vsevolod Stakhov
aa48f9df19
Add radix trie test suite.
9 anni fa
Vsevolod Stakhov
491e42b434
Restore testing framework.
9 anni fa
Vsevolod Stakhov
d6643f35d7
Refactor config API.
10 anni fa
Vsevolod Stakhov
ad837700b8
Refactor memory pool naming.
10 anni fa
Vsevolod Stakhov
5607e21b22
Improve test suite by using standard glib test options.
11 anni fa
Vsevolod Stakhov
07011527b9
Add a test suite for rcl.
11 anni fa
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
11 anni fa
Vsevolod Stakhov
851ffca79a
* Write tests for DKIM signature and key parsers.
Fix DKIM parsers.
12 anni fa
Vsevolod Stakhov
448ba92d15
Fixed threading for testing suite.
12 anni fa
Vsevolod Stakhov
4f28edb3f5
Fix asynchronous IO API.
Write test case for aio.
12 anni fa
Vsevolod Stakhov
9d70356009
Separate librspamdserver API from plugins and workers functions.
Make tests compileable again.
12 anni fa
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
13 anni fa
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
14 anni fa
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)
15 anni fa
Vsevolod Stakhov
05556b30f9
* Add counters for rspamd symbols
* Fix shared hashes
15 anni fa
Vsevolod Stakhov
afdaddc4d0
* Add fuzzy hashes implementation (with adler-32 roll hash and FNV-32 hash)
* Add test case for fuzzy hashing check
15 anni fa
Vsevolod Stakhov
06661f20cb
* Write functions to operate blocks in stat files
* Write test case for statistics files API
15 anni fa
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
15 anni fa
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
15 anni fa