diff options
author | Mikhail Galanin <mgalanin@mimecast.com> | 2018-10-08 16:28:55 +0100 |
---|---|---|
committer | Mikhail Galanin <mgalanin@mimecast.com> | 2018-10-08 16:28:55 +0100 |
commit | 592159d9737453a8b6e77102833a4e73cc957595 (patch) | |
tree | bf3575d237fc0702c580d029cbd8ed9138623f8c /test | |
parent | 0d25b3158193565a70fecb71ef85342d7cb5b669 (diff) | |
download | rspamd-592159d9737453a8b6e77102833a4e73cc957595.tar.gz rspamd-592159d9737453a8b6e77102833a4e73cc957595.zip |
[Test] Collect coverage in all functional tests
Diffstat (limited to 'test')
-rw-r--r-- | test/functional/configs/dkim.conf | 1 | ||||
-rw-r--r-- | test/functional/configs/fuzzy.conf | 1 | ||||
-rw-r--r-- | test/functional/configs/milter.conf | 1 | ||||
-rw-r--r-- | test/functional/configs/password.conf | 1 | ||||
-rw-r--r-- | test/functional/configs/proxy.conf | 1 | ||||
-rw-r--r-- | test/functional/configs/spamassassin.conf | 1 | ||||
-rw-r--r-- | test/functional/configs/stats.conf | 1 |
7 files changed, 7 insertions, 0 deletions
diff --git a/test/functional/configs/dkim.conf b/test/functional/configs/dkim.conf index 4ac7bf6b5..9307476c1 100644 --- a/test/functional/configs/dkim.conf +++ b/test/functional/configs/dkim.conf @@ -78,3 +78,4 @@ EOD; trusted_only = false; skip_multi = false; } +lua = "${TESTDIR}/lua/test_coverage.lua"; diff --git a/test/functional/configs/fuzzy.conf b/test/functional/configs/fuzzy.conf index 6232b567d..3eb554dc8 100644 --- a/test/functional/configs/fuzzy.conf +++ b/test/functional/configs/fuzzy.conf @@ -1,6 +1,7 @@ redis { servers = "${REDIS_ADDR}:${REDIS_PORT}"; } +lua = "${TESTDIR}/lua/test_coverage.lua"; options = { filters = "fuzzy_check"; pidfile = "${TMPDIR}/rspamd.pid"; diff --git a/test/functional/configs/milter.conf b/test/functional/configs/milter.conf index 004bf8b5f..789040e68 100644 --- a/test/functional/configs/milter.conf +++ b/test/functional/configs/milter.conf @@ -50,6 +50,7 @@ worker { modules { path = "${TESTDIR}/../../src/plugins/lua/" } +lua = "${TESTDIR}/lua/test_coverage.lua"; lua = "${INSTALLROOT}/share/rspamd/rules/rspamd.lua" lua = "${TESTDIR}/lua/params.lua" milter_headers { diff --git a/test/functional/configs/password.conf b/test/functional/configs/password.conf index 9c06e7c7b..922301844 100644 --- a/test/functional/configs/password.conf +++ b/test/functional/configs/password.conf @@ -42,3 +42,4 @@ worker { enable_password = ${ENABLE_PASSWORD}; stats_path = "${TMPDIR}/stats.ucl"; } +lua = "${TESTDIR}/lua/test_coverage.lua"; diff --git a/test/functional/configs/proxy.conf b/test/functional/configs/proxy.conf index bca691510..01217c113 100644 --- a/test/functional/configs/proxy.conf +++ b/test/functional/configs/proxy.conf @@ -20,3 +20,4 @@ worker "rspamd_proxy" { } count = 1; } +lua = "${TESTDIR}/lua/test_coverage.lua"; diff --git a/test/functional/configs/spamassassin.conf b/test/functional/configs/spamassassin.conf index eabefea2c..53aa89ec7 100644 --- a/test/functional/configs/spamassassin.conf +++ b/test/functional/configs/spamassassin.conf @@ -1,4 +1,5 @@ spamassassin { rules = "${TESTDIR}/configs/spamassassin.rules" } +lua = "${TESTDIR}/lua/test_coverage.lua"; lua = "${TESTDIR}/lua/simple.lua" diff --git a/test/functional/configs/stats.conf b/test/functional/configs/stats.conf index e770de2e8..f79729f39 100644 --- a/test/functional/configs/stats.conf +++ b/test/functional/configs/stats.conf @@ -72,5 +72,6 @@ classifier { ${REDIS_SERVER} } } +lua = "${TESTDIR}/lua/test_coverage.lua"; settings {} |