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