]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Test] use the coverage collector in tests
authorMikhail Galanin <mgalanin@mimecast.com>
Fri, 5 Oct 2018 11:35:31 +0000 (12:35 +0100)
committerMikhail Galanin <mgalanin@mimecast.com>
Fri, 5 Oct 2018 11:35:31 +0000 (12:35 +0100)
test/functional/configs/clickhouse.conf
test/functional/configs/lua_test.conf
test/functional/configs/plugins.conf

index 8f20b4dba9df4d78dce08ed575b2d300a11b061d..08a3614a53543d486a8a80e95e725bbf49b70b2a 100644 (file)
@@ -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/"
 }
index 949fd00f2002953e63a2b3f43963c8aea55b2424..67e1e8103c638a0ae87403c0842ec7ea312daf2b 100644 (file)
@@ -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};
index 6d4fff803f0d0e62747a2f540498facab2993319..ecff3eabf0908814bd649d8fa29b98d53439382f 100644 (file)
@@ -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}