summaryrefslogtreecommitdiff
path: root/spec/unit/tools_spec.lua
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2024-02-28 22:38:41 -0300
committerHisham Muhammad <hisham@gobolinux.org>2024-02-29 15:46:16 +0000
commit0ca8c460e867356342180bb625760ed9201a5503 (patch)
tree34a5b7c761cfdf1f0f14faf7a5e694ba98461457 /spec/unit/tools_spec.lua
parent5eb1e7a0845570c25585552068fde229da9e0b7a (diff)
downloadluarocks-0ca8c460e867356342180bb625760ed9201a5503.tar.gz
luarocks-0ca8c460e867356342180bb625760ed9201a5503.tar.bz2
luarocks-0ca8c460e867356342180bb625760ed9201a5503.zip
tests: disable luacov runner tick
Diffstat (limited to 'spec/unit/tools_spec.lua')
-rw-r--r--spec/unit/tools_spec.lua7
1 files changed, 3 insertions, 4 deletions
diff --git a/spec/unit/tools_spec.lua b/spec/unit/tools_spec.lua
index 0863c316..5b85c86a 100644
--- a/spec/unit/tools_spec.lua
+++ b/spec/unit/tools_spec.lua
@@ -147,16 +147,15 @@ local invalid_patch3 =
147describe("Luarocks patch test #unit", function() 147describe("Luarocks patch test #unit", function()
148 local runner 148 local runner
149 149
150 setup(function() 150 lazy_setup(function()
151 cfg.init() 151 cfg.init()
152 fs.init() 152 fs.init()
153 runner = require("luacov.runner") 153 runner = require("luacov.runner")
154 runner.init(testing_paths.testrun_dir .. "/luacov.config") 154 runner.init(testing_paths.testrun_dir .. "/luacov.config")
155 runner.tick = true
156 end) 155 end)
157 156
158 teardown(function() 157 lazy_teardown(function()
159 runner.shutdown() 158 runner.save_stats()
160 end) 159 end)
161 160
162 describe("patch.read_patch", function() 161 describe("patch.read_patch", function()