aboutsummaryrefslogtreecommitdiff
path: root/spec/build_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'spec/build_spec.lua')
-rw-r--r--spec/build_spec.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/build_spec.lua b/spec/build_spec.lua
index 8f08f0a0..2ff7cbe6 100644
--- a/spec/build_spec.lua
+++ b/spec/build_spec.lua
@@ -92,7 +92,7 @@ describe("LuaRocks build tests #blackbox #b_build", function()
92 92
93 describe("LuaRocks build - basic builds", function() 93 describe("LuaRocks build - basic builds", function()
94 it("LuaRocks build luadoc", function() 94 it("LuaRocks build luadoc", function()
95 assert.is_true(run.luarocks_bool(test_env.quiet("build luadoc"))) 95 assert.is_true(run.luarocks_bool("build luadoc"))
96 end) 96 end)
97 97
98 it("LuaRocks build luacov diff version", function() 98 it("LuaRocks build luacov diff version", function()
@@ -114,7 +114,7 @@ describe("LuaRocks build tests #blackbox #b_build", function()
114 if test_env.TEST_TARGET_OS == "windows" then 114 if test_env.TEST_TARGET_OS == "windows" then
115 assert.is_false(run.luarocks_bool("build lpty")) --Error: This rockspec for lpty does not support win32, windows platforms 115 assert.is_false(run.luarocks_bool("build lpty")) --Error: This rockspec for lpty does not support win32, windows platforms
116 else 116 else
117 assert.is_true(run.luarocks_bool(test_env.quiet("build lpty"))) 117 assert.is_true(run.luarocks_bool("build lpty"))
118 assert.is.truthy(lfs.attributes(testing_paths.testing_sys_tree .. "/lib/luarocks/rocks/lpty/1.0.1-1/lpty-1.0.1-1.rockspec")) 118 assert.is.truthy(lfs.attributes(testing_paths.testing_sys_tree .. "/lib/luarocks/rocks/lpty/1.0.1-1/lpty-1.0.1-1.rockspec"))
119 end 119 end
120 end) 120 end)
@@ -146,7 +146,7 @@ describe("LuaRocks build tests #blackbox #b_build", function()
146 end 146 end
147 147
148 it("LuaRocks build luasec only deps", function() 148 it("LuaRocks build luasec only deps", function()
149 assert.is_true(run.luarocks_bool(test_env.quiet("build luasec " .. test_env.OPENSSL_DIRS .. " --only-deps"))) 149 assert.is_true(run.luarocks_bool("build luasec " .. test_env.OPENSSL_DIRS .. " --only-deps"))
150 assert.is_false(run.luarocks_bool("show luasec")) 150 assert.is_false(run.luarocks_bool("show luasec"))
151 assert.is.falsy(lfs.attributes(testing_paths.testing_sys_tree .. "/lib/luarocks/rocks/luasec/0.6-1/luasec-0.6-1.rockspec")) 151 assert.is.falsy(lfs.attributes(testing_paths.testing_sys_tree .. "/lib/luarocks/rocks/luasec/0.6-1/luasec-0.6-1.rockspec"))
152 end) 152 end)
@@ -181,7 +181,7 @@ describe("LuaRocks build tests #blackbox #b_build", function()
181 181
182 it("LuaRocks build with https", function() 182 it("LuaRocks build with https", function()
183 assert.is_true(run.luarocks_bool("download --rockspec validate-args 1.5.4-1")) 183 assert.is_true(run.luarocks_bool("download --rockspec validate-args 1.5.4-1"))
184 assert.is_true(run.luarocks_bool(test_env.quiet("install luasec " .. test_env.OPENSSL_DIRS))) 184 assert.is_true(run.luarocks_bool("install luasec " .. test_env.OPENSSL_DIRS))
185 185
186 assert.is_true(run.luarocks_bool("build validate-args-1.5.4-1.rockspec")) 186 assert.is_true(run.luarocks_bool("build validate-args-1.5.4-1.rockspec"))
187 assert.is.truthy(run.luarocks("show validate-args")) 187 assert.is.truthy(run.luarocks("show validate-args"))