diff options
| author | Hisham Muhammad <hisham@gobolinux.org> | 2016-07-14 14:43:42 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-07-14 14:43:42 -0300 |
| commit | 36388709d628a76c450eed20b67f008faefc36cb (patch) | |
| tree | e9e8a6959ecafcd8355b8b9614f65a613fe6ddb4 /spec/build_spec.lua | |
| parent | 0f63a95e991435c769584abd01b16bd748a1434b (diff) | |
| parent | 48b98f0c099dc621e1f93cccf9a9e03ff75649b6 (diff) | |
| download | luarocks-36388709d628a76c450eed20b67f008faefc36cb.tar.gz luarocks-36388709d628a76c450eed20b67f008faefc36cb.tar.bz2 luarocks-36388709d628a76c450eed20b67f008faefc36cb.zip | |
Merge pull request #588 from robooo/new-tests
New tests
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) |
