aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--spec/util/quick.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/spec/util/quick.lua b/spec/util/quick.lua
index d7df7bb1..6b86bfa9 100644
--- a/spec/util/quick.lua
+++ b/spec/util/quick.lua
@@ -286,8 +286,9 @@ function quick.compile(filename, env)
286 write([=[ local lfs = require("lfs") ]=]) 286 write([=[ local lfs = require("lfs") ]=])
287 write([=[ local fs = require("lfs") ]=]) 287 write([=[ local fs = require("lfs") ]=])
288 write([=[ local dir_sep = package.config:sub(1, 1) ]=]) 288 write([=[ local dir_sep = package.config:sub(1, 1) ]=])
289 write([=[ local luarocks_cmd = test_env.execute_helper(test_env.Q(test_env.testing_paths.lua) .. " " .. test_env.testing_paths.src_dir .. "/bin/luarocks", false, test_env.env_variables):sub(1, -5) ]=]) 289 write([=[ local coverage = " -e \"require('luacov.runner')([[" .. test_env.testing_paths.testrun_dir .. dir_sep .. "luacov.config]])\" " ]=])
290 write([=[ local luarocks_admin_cmd = test_env.execute_helper(test_env.Q(test_env.testing_paths.lua) .. " " .. test_env.testing_paths.src_dir .. "/bin/luarocks-admin", false, test_env.env_variables):sub(1, -5) ]=]) 290 write([=[ local luarocks_cmd = test_env.execute_helper(test_env.Q(test_env.testing_paths.lua) .. coverage .. " " .. test_env.testing_paths.src_dir .. "/bin/luarocks", false, test_env.env_variables):sub(1, -5) ]=])
291 write([=[ local luarocks_admin_cmd = test_env.execute_helper(test_env.Q(test_env.testing_paths.lua) .. coverage .. " " .. test_env.testing_paths.src_dir .. "/bin/luarocks-admin", false, test_env.env_variables):sub(1, -5) ]=])
291 292
292 write([=[ local function make_dir(dirname) ]=]) 293 write([=[ local function make_dir(dirname) ]=])
293 write([=[ local bits = {} ]=]) 294 write([=[ local bits = {} ]=])