aboutsummaryrefslogtreecommitdiff
path: root/spec/build_spec.lua
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2018-04-12 17:13:43 -0300
committerHisham Muhammad <hisham@gobolinux.org>2018-04-13 17:11:12 -0300
commit2871199838131b5a4c5a99d8e1fedbcd26017b0e (patch)
treef536bf262d31cbe32595468b2765f41df2a062c3 /spec/build_spec.lua
parente145314e263e9daeb99e0586505a81902e5e483b (diff)
downloadluarocks-2871199838131b5a4c5a99d8e1fedbcd26017b0e.tar.gz
luarocks-2871199838131b5a4c5a99d8e1fedbcd26017b0e.tar.bz2
luarocks-2871199838131b5a4c5a99d8e1fedbcd26017b0e.zip
Tests: build_dependencies
Diffstat (limited to 'spec/build_spec.lua')
-rw-r--r--spec/build_spec.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/build_spec.lua b/spec/build_spec.lua
index ed36dbd2..5c363570 100644
--- a/spec/build_spec.lua
+++ b/spec/build_spec.lua
@@ -249,5 +249,13 @@ describe("LuaRocks build tests #blackbox #b_build", function()
249 assert.is.truthy(run.luarocks("show with_external_dep")) 249 assert.is.truthy(run.luarocks("show with_external_dep"))
250 end) 250 end)
251 end) 251 end)
252
253 describe("#build_dependencies", function()
254 it("builds with a build dependency", function()
255 assert(run.luarocks_bool("build has_build_dep --server=" .. testing_paths.fixtures_dir .. "/a_repo" ))
256 assert(run.luarocks_bool("show has_build_dep 1.0"))
257 assert(run.luarocks_bool("show a_build_dep 1.0"))
258 end)
259 end)
252 260
253end) 261end)