diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2018-04-12 17:13:43 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2018-04-13 17:11:12 -0300 |
commit | 2871199838131b5a4c5a99d8e1fedbcd26017b0e (patch) | |
tree | f536bf262d31cbe32595468b2765f41df2a062c3 /spec/install_spec.lua | |
parent | e145314e263e9daeb99e0586505a81902e5e483b (diff) | |
download | luarocks-2871199838131b5a4c5a99d8e1fedbcd26017b0e.tar.gz luarocks-2871199838131b5a4c5a99d8e1fedbcd26017b0e.tar.bz2 luarocks-2871199838131b5a4c5a99d8e1fedbcd26017b0e.zip |
Tests: build_dependencies
Diffstat (limited to '')
-rw-r--r-- | spec/install_spec.lua | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/spec/install_spec.lua b/spec/install_spec.lua index 4043af35..b4273692 100644 --- a/spec/install_spec.lua +++ b/spec/install_spec.lua | |||
@@ -223,4 +223,13 @@ describe("luarocks install #blackbox #b_install", function() | |||
223 | assert.is.truthy(lfs.attributes(testing_paths.testing_sys_rocks .. "/say/1.0-1")) | 223 | assert.is.truthy(lfs.attributes(testing_paths.testing_sys_rocks .. "/say/1.0-1")) |
224 | end) | 224 | end) |
225 | end) | 225 | end) |
226 | |||
227 | describe("#build_dependencies", function() | ||
228 | it("install does not install a build dependency", function() | ||
229 | assert(run.luarocks_bool("install has_build_dep --server=" .. testing_paths.fixtures_dir .. "/a_repo" )) | ||
230 | assert(run.luarocks_bool("show has_build_dep 1.0")) | ||
231 | assert.falsy(run.luarocks_bool("show a_build_dep 1.0")) | ||
232 | end) | ||
233 | end) | ||
234 | |||
226 | end) | 235 | end) |