aboutsummaryrefslogtreecommitdiff
path: root/spec/util
diff options
context:
space:
mode:
Diffstat (limited to 'spec/util')
-rw-r--r--spec/util/test_env.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/util/test_env.lua b/spec/util/test_env.lua
index 9ff0a470..e3aad1b1 100644
--- a/spec/util/test_env.lua
+++ b/spec/util/test_env.lua
@@ -650,6 +650,7 @@ function test_env.setup_specs(extra_rocks)
650 require("spec.util.git_repo") 650 require("spec.util.git_repo")
651 651
652 package.path = test_env.env_variables.LUA_PATH 652 package.path = test_env.env_variables.LUA_PATH
653 package.cpath = test_env.env_variables.LUA_CPATH
653 654
654 test_env.platform = execute_output(test_env.testing_paths.lua .. " -e \"cfg = require('luarocks.core.cfg'); cfg.init(); print(cfg.arch)\"", false, test_env.env_variables) 655 test_env.platform = execute_output(test_env.testing_paths.lua .. " -e \"cfg = require('luarocks.core.cfg'); cfg.init(); print(cfg.arch)\"", false, test_env.env_variables)
655 test_env.wrapper_extension = test_env.TEST_TARGET_OS == "windows" and ".bat" or "" 656 test_env.wrapper_extension = test_env.TEST_TARGET_OS == "windows" and ".bat" or ""
@@ -918,7 +919,8 @@ function test_env.main()
918 table.insert(urls, "/md5-1.2-1.src.rock") 919 table.insert(urls, "/md5-1.2-1.src.rock")
919 --table.insert(urls, "/lzlib-0.4.1.53-1.src.rock") 920 --table.insert(urls, "/lzlib-0.4.1.53-1.src.rock")
920 table.insert(urls, "/lua-zlib-1.2-0.src.rock") 921 table.insert(urls, "/lua-zlib-1.2-0.src.rock")
921 rocks = {"luafilesystem", "luasocket", "md5", "lua-zlib"} 922 table.insert(urls, "/lua-bz2-0.1.0-1.src.rock")
923 rocks = {"luafilesystem", "luasocket", "md5", "lua-zlib", "lua-bz2"}
922 if test_env.TEST_TARGET_OS ~= "windows" then 924 if test_env.TEST_TARGET_OS ~= "windows" then
923 table.insert(urls, "/luaposix-33.2.1-1.src.rock") 925 table.insert(urls, "/luaposix-33.2.1-1.src.rock")
924 table.insert(rocks, "luaposix") 926 table.insert(rocks, "luaposix")