aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMikhail Galanin <mgalanin@mimecast.com>2018-10-05 12:35:31 +0100
committerMikhail Galanin <mgalanin@mimecast.com>2018-10-05 12:35:31 +0100
commit3440e3a862c02df2eb005d7335c17fbe78eb63ea (patch)
tree3da5b015c7f4ec127717205d14925e9b099ee761 /test
parent69b45a2214b8b6b8d5c3fe6f480f49ea6c7ae198 (diff)
downloadrspamd-3440e3a862c02df2eb005d7335c17fbe78eb63ea.tar.gz
rspamd-3440e3a862c02df2eb005d7335c17fbe78eb63ea.zip
[Test] use the coverage collector in tests
Diffstat (limited to 'test')
-rw-r--r--test/functional/configs/clickhouse.conf1
-rw-r--r--test/functional/configs/lua_test.conf2
-rw-r--r--test/functional/configs/plugins.conf1
3 files changed, 3 insertions, 1 deletions
diff --git a/test/functional/configs/clickhouse.conf b/test/functional/configs/clickhouse.conf
index 8f20b4dba..08a3614a5 100644
--- a/test/functional/configs/clickhouse.conf
+++ b/test/functional/configs/clickhouse.conf
@@ -56,6 +56,7 @@ worker {
secure_ip = ["127.0.0.1", "::1"];
stats_path = "${TMPDIR}/stats.ucl"
}
+lua = "${TESTDIR}/lua/test_coverage.lua";
modules {
path = "${TESTDIR}/../../src/plugins/lua/"
}
diff --git a/test/functional/configs/lua_test.conf b/test/functional/configs/lua_test.conf
index 949fd00f2..67e1e8103 100644
--- a/test/functional/configs/lua_test.conf
+++ b/test/functional/configs/lua_test.conf
@@ -47,5 +47,5 @@ worker {
secure_ip = ["127.0.0.1", "::1"];
stats_path = "${TMPDIR}/stats.ucl"
}
-
+lua = "${TESTDIR}/lua/test_coverage.lua";
lua = ${LUA_SCRIPT};
diff --git a/test/functional/configs/plugins.conf b/test/functional/configs/plugins.conf
index 6d4fff803..ecff3eabf 100644
--- a/test/functional/configs/plugins.conf
+++ b/test/functional/configs/plugins.conf
@@ -507,5 +507,6 @@ worker {
modules {
path = "${TESTDIR}/../../src/plugins/lua/"
}
+lua = "${TESTDIR}/lua/test_coverage.lua";
lua = "${INSTALLROOT}/share/rspamd/rules/rspamd.lua"
${PLUGIN_CONFIG}