aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroboo <robo.karasek@gmail.com>2016-08-22 20:57:26 +0200
committerroboo <robo.karasek@gmail.com>2016-08-22 20:57:26 +0200
commit7225a3d4513137a8e13a5db39538e007b8faa886 (patch)
tree0581ccb8b15ef7eff220d639b5fd994a43847929
parent19646202422bbcf410c66b16d57348955a03c390 (diff)
downloadluarocks-7225a3d4513137a8e13a5db39538e007b8faa886.tar.gz
luarocks-7225a3d4513137a8e13a5db39538e007b8faa886.tar.bz2
luarocks-7225a3d4513137a8e13a5db39538e007b8faa886.zip
Change APPVEYOR_OPENSSL to OPENSSL_DIRS for better test readability
-rw-r--r--test/test_environment.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test_environment.lua b/test/test_environment.lua
index 37bd38f1..ab6c3edd 100644
--- a/test/test_environment.lua
+++ b/test/test_environment.lua
@@ -153,6 +153,7 @@ end
153function test_env.set_args() 153function test_env.set_args()
154 -- if at least Lua/LuaJIT version argument was found on input start to parse other arguments to env. variables 154 -- if at least Lua/LuaJIT version argument was found on input start to parse other arguments to env. variables
155 test_env.TYPE_TEST_ENV = "minimal" 155 test_env.TYPE_TEST_ENV = "minimal"
156 test_env.OPENSSL_DIRS = ""
156 test_env.RESET_ENV = true 157 test_env.RESET_ENV = true
157 158
158 for _, argument in ipairs(arg) do 159 for _, argument in ipairs(arg) do
@@ -168,7 +169,7 @@ function test_env.set_args()
168 test_env.TRAVIS = true 169 test_env.TRAVIS = true
169 elseif argument == "appveyor" then 170 elseif argument == "appveyor" then
170 test_env.APPVEYOR = true 171 test_env.APPVEYOR = true
171 test_env.APPVEYOR_OPENSSL = "OPENSSL_LIBDIR=C:\\OpenSSL-Win32\\lib OPENSSL_INCDIR=C:\\OpenSSL-Win32\\include" 172 test_env.OPENSSL_DIRS = "OPENSSL_LIBDIR=C:\\OpenSSL-Win32\\lib OPENSSL_INCDIR=C:\\OpenSSL-Win32\\include"
172 elseif argument:find("^os=") then 173 elseif argument:find("^os=") then
173 test_env.TEST_TARGET_OS = argument:match("^os=(.*)$") 174 test_env.TEST_TARGET_OS = argument:match("^os=(.*)$")
174 else 175 else