aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2024-08-28 00:35:12 -0300
committerHisham Muhammad <hisham@gobolinux.org>2024-10-21 13:30:51 -0300
commit362dd3a50d57b5403d778cdf92839b7f6c30e69e (patch)
treefa194aac8f63a68cfbc5445a031bb02cc9263101
parent74b8b0cbadf434516ab5c91d73c02ec170215b7b (diff)
downloadluarocks-362dd3a50d57b5403d778cdf92839b7f6c30e69e.tar.gz
luarocks-362dd3a50d57b5403d778cdf92839b7f6c30e69e.tar.bz2
luarocks-362dd3a50d57b5403d778cdf92839b7f6c30e69e.zip
tests: use compat53
-rw-r--r--appveyor.yml1
-rw-r--r--spec/util/test_env.lua4
-rw-r--r--spec/util/versions.lua1
3 files changed, 6 insertions, 0 deletions
diff --git a/appveyor.yml b/appveyor.yml
index 5b7493df..da8ab442 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -77,6 +77,7 @@ before_build:
77 - copy deps\zlib\zlib.v120.windesktop.msvcstl.dyn.rt-dyn.1.2.8.8\lib\native\v120\windesktop\msvcstl\dyn\rt-dyn\Win32\MinSizeRel\zlib.lib c:\external\lib\z.lib 77 - copy deps\zlib\zlib.v120.windesktop.msvcstl.dyn.rt-dyn.1.2.8.8\lib\native\v120\windesktop\msvcstl\dyn\rt-dyn\Win32\MinSizeRel\zlib.lib c:\external\lib\z.lib
78 78
79build_script: 79build_script:
80 - luarocks install compat53 1> NUL 2> NUL
80 - IF NOT EXIST lua_install-%LUAV%\bin\busted.bat ( luarocks install busted 1> NUL 2> NUL ) 81 - IF NOT EXIST lua_install-%LUAV%\bin\busted.bat ( luarocks install busted 1> NUL 2> NUL )
81 - IF NOT EXIST lua_install-%LUAV%\bin\luacov.bat ( luarocks install cluacov 1> NUL 2> NUL ) 82 - IF NOT EXIST lua_install-%LUAV%\bin\luacov.bat ( luarocks install cluacov 1> NUL 2> NUL )
82 - luarocks install busted-htest 1> NUL 2> NUL 83 - luarocks install busted-htest 1> NUL 2> NUL
diff --git a/spec/util/test_env.lua b/spec/util/test_env.lua
index 92fb1939..645c182f 100644
--- a/spec/util/test_env.lua
+++ b/spec/util/test_env.lua
@@ -1114,6 +1114,10 @@ function test_env.main()
1114 table.insert(rocks, "luacov") 1114 table.insert(rocks, "luacov")
1115 table.insert(rocks, "cluacov") 1115 table.insert(rocks, "cluacov")
1116 1116
1117 -- compat53 is needed
1118 table.insert(urls, "/compat53-${COMPAT53}.src.rock")
1119 table.insert(rocks, "compat53")
1120
1117 -- Download rocks needed for LuaRocks testing environment 1121 -- Download rocks needed for LuaRocks testing environment
1118 lfs.mkdir(testing_paths.testing_server) 1122 lfs.mkdir(testing_paths.testing_server)
1119 download_rocks(urls, testing_paths.testing_server) 1123 download_rocks(urls, testing_paths.testing_server)
diff --git a/spec/util/versions.lua b/spec/util/versions.lua
index 77c1129c..f3ea152c 100644
--- a/spec/util/versions.lua
+++ b/spec/util/versions.lua
@@ -2,6 +2,7 @@ return {
2 binaryheap = "0.4-1", -- dependency for copas 2 binaryheap = "0.4-1", -- dependency for copas
3 bit32 = "5.3.5.1-1", -- dependency for luaposix on Lua 5.1 3 bit32 = "5.3.5.1-1", -- dependency for luaposix on Lua 5.1
4 cluacov = "0.1.3-1", 4 cluacov = "0.1.3-1",
5 compat53 = "0.14.3-1",
5 copas = "3.0.0-2", 6 copas = "3.0.0-2",
6 cprint = "0.2-1", 7 cprint = "0.2-1",
7 dkjson = "2.6-1", 8 dkjson = "2.6-1",