diff options
Diffstat (limited to 'spec/build_spec.lua')
| -rw-r--r-- | spec/build_spec.lua | 8 |
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 | ||
| 253 | end) | 261 | end) |
