Commit 20c85eb4 authored by Petr Špaček's avatar Petr Špaček

Merge branch 'lua_coverage' into 'master'

kresd: measure test coverage for Lua code

See merge request !94
parents a5cd67c9 8e533979
Pipeline #29423 passed with stage
in 49 seconds
*.pyc
*.swp
/luacov.stats.out
-- measure code coverage if the module is available
local ok, runner = pcall(require, 'luacov.runner')
if ok then
runner.init({
statsfile = '{{INSTALL_DIR}}/luacov.stats.out',
exclude = {'test', 'tapered', 'lua/5.1'},
})
jit.off()
end
net = { '{{SELF_ADDR}}' }
modules = {'stats', 'policy', 'hints'}
-- test. domain is used by some tests, allow it
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment