aboutsummaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2018-07-17 15:52:48 -0300
committerHisham Muhammad <hisham@gobolinux.org>2018-07-18 11:24:07 -0300
commitd93459dcf4250dd025a1baa802a6243516b7395d (patch)
treecffd99ea7cd0f08fa619b6902c62c38808f4c348 /spec
parent365c5a4bb52dead8d9f040d9857da448b194ada9 (diff)
downloadluarocks-d93459dcf4250dd025a1baa802a6243516b7395d.tar.gz
luarocks-d93459dcf4250dd025a1baa802a6243516b7395d.tar.bz2
luarocks-d93459dcf4250dd025a1baa802a6243516b7395d.zip
Tests: tweak dependencies for env=full tests
Diffstat (limited to 'spec')
-rw-r--r--spec/util/test_env.lua21
1 files changed, 10 insertions, 11 deletions
diff --git a/spec/util/test_env.lua b/spec/util/test_env.lua
index d5bd90d3..0218aa53 100644
--- a/spec/util/test_env.lua
+++ b/spec/util/test_env.lua
@@ -885,26 +885,25 @@ function test_env.main()
885 -- Preparation of rocks for building environment 885 -- Preparation of rocks for building environment
886 local rocks = {} -- names of rocks, required for building environment 886 local rocks = {} -- names of rocks, required for building environment
887 local urls = {} -- names of rock and rockspec files to be downloaded 887 local urls = {} -- names of rock and rockspec files to be downloaded
888 table.insert(urls, "/luacov-0.11.0-1.rockspec")
889 table.insert(urls, "/luacov-0.11.0-1.src.rock")
890 888
891 if test_env.TYPE_TEST_ENV == "full" then 889 if test_env.TYPE_TEST_ENV == "full" then
892 table.insert(urls, "/luafilesystem-1.6.3-1.src.rock") 890 table.insert(urls, "/luafilesystem-1.6.3-1.src.rock")
893 table.insert(urls, "/luasocket-3.0rc1-1.src.rock") 891 table.insert(urls, "/luasocket-3.0rc1-1.src.rock")
894 table.insert(urls, "/luasocket-3.0rc1-1.rockspec") 892 table.insert(urls, "/luasocket-3.0rc1-1.rockspec")
895 table.insert(urls, "/luaposix-33.2.1-1.src.rock")
896 table.insert(urls, "/md5-1.2-1.src.rock") 893 table.insert(urls, "/md5-1.2-1.src.rock")
897 table.insert(urls, "/lzlib-0.4.1.53-1.src.rock") 894 --table.insert(urls, "/lzlib-0.4.1.53-1.src.rock")
898 rocks = {"luafilesystem", "luasocket", "luaposix", "md5", "lzlib"} 895 table.insert(urls, "/lua-zlib-1.2-0.src.rock")
899 896 rocks = {"luafilesystem", "luasocket", "md5", "lua-zlib"}
900 if test_env.LUA_V ~= "5.1" then 897 if test_env.TEST_TARGET_OS ~= "windows" then
901 table.insert(urls, "/luabitop-1.0.2-1.rockspec") 898 table.insert(urls, "/luaposix-33.2.1-1.src.rock")
902 table.insert(urls, "/luabitop-1.0.2-1.src.rock") 899 table.insert(rocks, "luaposix")
903 table.insert(rocks, "luabitop")
904 end 900 end
905 end 901 end
906 902
907 table.insert(rocks, "luacov") -- luacov is needed for minimal or full environment 903 -- luacov is needed for both minimal or full environment
904 table.insert(urls, "/luacov-0.11.0-1.rockspec")
905 table.insert(urls, "/luacov-0.11.0-1.src.rock")
906 table.insert(rocks, "luacov")
908 907
909 -- Download rocks needed for LuaRocks testing environment 908 -- Download rocks needed for LuaRocks testing environment
910 lfs.mkdir(testing_paths.testing_server) 909 lfs.mkdir(testing_paths.testing_server)