Browse Source

[Test] use the coverage collector in tests

tags/1.8.1
Mikhail Galanin 5 years ago
parent
commit
3440e3a862

+ 1
- 0
test/functional/configs/clickhouse.conf View 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/"
}

+ 1
- 1
test/functional/configs/lua_test.conf View 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};

+ 1
- 0
test/functional/configs/plugins.conf View 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}

Loading…
Cancel
Save