diff options
| author | roboo <robo.karasek@gmail.com> | 2016-07-14 00:29:01 +0200 |
|---|---|---|
| committer | roboo <robo.karasek@gmail.com> | 2016-07-14 00:29:01 +0200 |
| commit | 1656a4c7a2dac25d2dd2e5d2211ce0e7eb000b19 (patch) | |
| tree | 6aa4d66409112e10ac40968ec439d3ceddc6e5a6 /spec/build_spec.lua | |
| parent | fe79525c26449576322ca5aa736d72d100313be4 (diff) | |
| download | luarocks-1656a4c7a2dac25d2dd2e5d2211ce0e7eb000b19.tar.gz luarocks-1656a4c7a2dac25d2dd2e5d2211ce0e7eb000b19.tar.bz2 luarocks-1656a4c7a2dac25d2dd2e5d2211ce0e7eb000b19.zip | |
need_rock() added, new flag noreset environment
Diffstat (limited to 'spec/build_spec.lua')
| -rw-r--r-- | spec/build_spec.lua | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/spec/build_spec.lua b/spec/build_spec.lua index 1ce99089..682c6dcf 100644 --- a/spec/build_spec.lua +++ b/spec/build_spec.lua | |||
| @@ -169,12 +169,10 @@ describe("LuaRocks build tests #blackbox #b_build", function() | |||
| 169 | end) | 169 | end) |
| 170 | 170 | ||
| 171 | it("LuaRocks build missing external", function() | 171 | it("LuaRocks build missing external", function() |
| 172 | assert.is_true(test_env.need_luasocket()) | ||
| 173 | assert.is_false(run.luarocks_bool("build " .. testing_paths.testing_dir .. "/testfiles/missing_external-0.1-1.rockspec INEXISTENT_INCDIR=\"/invalid/dir\"")) | 172 | assert.is_false(run.luarocks_bool("build " .. testing_paths.testing_dir .. "/testfiles/missing_external-0.1-1.rockspec INEXISTENT_INCDIR=\"/invalid/dir\"")) |
| 174 | end) | 173 | end) |
| 175 | 174 | ||
| 176 | it("LuaRocks build invalid patch", function() | 175 | it("LuaRocks build invalid patch", function() |
| 177 | assert.is_true(test_env.need_luasocket()) | ||
| 178 | assert.is_false(run.luarocks_bool("build " .. testing_paths.testing_dir .. "/testfiles/invalid_patch-0.1-1.rockspec")) | 176 | assert.is_false(run.luarocks_bool("build " .. testing_paths.testing_dir .. "/testfiles/invalid_patch-0.1-1.rockspec")) |
| 179 | end) | 177 | end) |
| 180 | end) | 178 | end) |
