Petr Vaněk
d37a3764e9
Add SYSTEM_DOCTEST cmake option
This gives packagers option to use system version of doctest rather than
bundled one. It is disabled by default. Additionally, there is no need
to link rspamd-test-cxx with doctest as it is is single header library.
Main reason for this change is that currently bundled version of
doctest-2.4.5 can't compile with glibc-2.34 [1]. However, this issue was
already fixed in upstream doctest-2.4.6 [2] in commit [3]. With this,
packagers can just bump doctest to fixed version.
[1] https://github.com/onqtam/doctest/issues/473
[2] https://github.com/onqtam/doctest/blob/master/CHANGELOG.md#246-2021-03-22
[3] 099d5414e9
2 years ago
Vsevolod Stakhov
ab8882972d
[Minor] Always use c++ linker now
3 years ago
Vsevolod Stakhov
1a799bffa7
[Project] Css: Add some c++ unit tests
3 years ago
Vsevolod Stakhov
57fe176918
[Project] Add doctest unit testing library
3 years ago
Vsevolod Stakhov
7ef42a3cc1
[Minor] Use CONFIGURE_DEPENDS for glob expressions
3 years ago
Vsevolod Stakhov
300acf008d
[Test] Fix functional tests
5 years ago
Vsevolod Stakhov
1dcc9a69cc
[Minor] Disable broken http bench
5 years ago
Vsevolod Stakhov
e550b8e7db
[Minor] Try to fix linking hell
5 years ago
Vsevolod Stakhov
76fafe01df
[Minor] Oops, add dependency
5 years ago
Vsevolod Stakhov
0436aa53c3
[Rework] Convert rspamd-server to a shared library
5 years ago
Mikhail Galanin
5dd0a6b7fb
[Minor] Benchmark for lua calls
5 years ago
Vsevolod Stakhov
418c101010
[Minor] Redis support is now unconditional
6 years ago
Vsevolod Stakhov
d79cfb3b6d
[Minor] Fix tests build
6 years ago
Vsevolod Stakhov
d172dc0814
[Minor] Some fixes for static build
7 years ago
Vsevolod Stakhov
b949d58f0a
[Minor] Fix tests build
7 years ago
Vsevolod Stakhov
301aeb573a
[Fix] Fix build with the new tests framework
8 years ago
Vsevolod Stakhov
5bbd698d96
[Rework] Finish rework for the rest of places that use HTTP
8 years ago
Vsevolod Stakhov
3789f106c1
[Feature] Add unit tests for heap
8 years ago
Vsevolod Stakhov
34b41a21d7
Add Level-Compressed Tree Bitmap contrib code
Implementation by: Geoffrey T. Dairiki <dairiki@dairiki.org>
8 years ago
Vsevolod Stakhov
4fc834d623
Embed hiredis as it is broken literally everywhere
8 years ago
Vsevolod Stakhov
45c5ffb0c0
Fix tests
8 years ago
Vsevolod Stakhov
c5e769ec0c
Allow conditional build of snowball.
8 years ago
Vsevolod Stakhov
8378090d39
Do not use relative path for linkage.
Issue: #386
8 years ago
Vsevolod Stakhov
ab15b9a3c9
Remove legacy fuzzy code completely.
9 years ago
Vsevolod Stakhov
7eadc580cf
Fix unit test building and starting.
9 years ago
Vsevolod Stakhov
c20631bd67
Adopt build system for new tests.
9 years ago
Vsevolod Stakhov
f20d566909
Start functional tests.
9 years ago
Vsevolod Stakhov
045971cbb8
Add unit test for cryptobox.
9 years ago
Vsevolod Stakhov
97f1081511
Fix linking if tests.
9 years ago
Vsevolod Stakhov
30cdb0547e
Remove deprecated test.
9 years ago
Vsevolod Stakhov
9f8d613c23
Properly link rspamd_server on darwin.
9 years ago
Vsevolod Stakhov
afbe7a857b
Fix linking on Darwin.
9 years ago
Vsevolod Stakhov
158c9f6a50
Add explicit dependency for rspamd-test on rspamd-server
9 years ago
Vsevolod Stakhov
2ebe497bfa
Include the whole rspamd-server for ffi.
9 years ago
Vsevolod Stakhov
e4cc017c5d
Rework lua tests one more time.
9 years ago
Vsevolod Stakhov
3696893b55
Remove expired.
9 years ago
Vsevolod Stakhov
6df0f09c9a
Fix lua tests copying.
9 years ago
Vsevolod Stakhov
349bc58cf6
Reorganize lua tests.
9 years ago
Vsevolod Stakhov
2f20e4f7fe
Add lua test framework.
9 years ago
Vsevolod Stakhov
1b94a3560c
Eliminate mess with linking.
9 years ago
Vsevolod Stakhov
c4e4a60be8
Small fixes.
9 years ago
Vsevolod Stakhov
984c43f649
Add HTTP connections speed test.
9 years ago
Vsevolod Stakhov
e48a8c5e6f
Remove checks from debian build.
9 years ago
Vsevolod Stakhov
7404cdceee
Add some tests for shingles.
9 years ago
Vsevolod Stakhov
89442fca48
Add a simple upstreams test.
9 years ago
Vsevolod Stakhov
3747d8d66e
Fix profiler linkage.
9 years ago
Vsevolod Stakhov
aa48f9df19
Add radix trie test suite.
9 years ago
Vsevolod Stakhov
491e42b434
Restore testing framework.
9 years ago
Vsevolod Stakhov
07011527b9
Add a test suite for rcl.
11 years ago
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 years ago