aboutsummaryrefslogtreecommitdiff
path: root/spec/build_spec.lua
diff options
context:
space:
mode:
authorPeter Melnichenko <mpeterval@gmail.com>2016-07-09 16:35:33 +0400
committerGitHub <noreply@github.com>2016-07-09 16:35:33 +0400
commit8e55688c191827a9b2e9c499a95c888078979e8c (patch)
treeaeaf8c1886c949e8e357b59a04cebc3be3930bce /spec/build_spec.lua
parent5af7e0d7c2dcf65e41ae8523f3771e9528be32a7 (diff)
parenta05ba7ce42ae4e42f80b5cacdd8770ae5e6cc04b (diff)
downloadluarocks-8e55688c191827a9b2e9c499a95c888078979e8c.tar.gz
luarocks-8e55688c191827a9b2e9c499a95c888078979e8c.tar.bz2
luarocks-8e55688c191827a9b2e9c499a95c888078979e8c.zip
Merge pull request #583 from mpeterv/adjust-new-tests
Minor changes and fixes for new test suite
Diffstat (limited to 'spec/build_spec.lua')
-rw-r--r--spec/build_spec.lua7
1 files changed, 3 insertions, 4 deletions
diff --git a/spec/build_spec.lua b/spec/build_spec.lua
index 6665de0b..1ce99089 100644
--- a/spec/build_spec.lua
+++ b/spec/build_spec.lua
@@ -1,8 +1,9 @@
1local test_env = require("test/test_environment") 1local test_env = require("test/test_environment")
2local lfs = require("lfs") 2local lfs = require("lfs")
3local run = test_env.run
4local testing_paths = test_env.testing_paths
3 5
4test_env.unload_luarocks() 6test_env.unload_luarocks()
5local build = require("luarocks.build")
6 7
7local extra_rocks = { 8local extra_rocks = {
8 "/lmathx-20120430.51-1.src.rock", 9 "/lmathx-20120430.51-1.src.rock",
@@ -26,12 +27,10 @@ local extra_rocks = {
26 "/validate-args-1.5.4-1.rockspec" 27 "/validate-args-1.5.4-1.rockspec"
27} 28}
28 29
29expose("LuaRocks build tests #blackbox #b_build", function() 30describe("LuaRocks build tests #blackbox #b_build", function()
30 31
31 before_each(function() 32 before_each(function()
32 test_env.setup_specs(extra_rocks) 33 test_env.setup_specs(extra_rocks)
33 testing_paths = test_env.testing_paths
34 run = test_env.run
35 end) 34 end)
36 35
37 describe("LuaRocks build - basic testing set", function() 36 describe("LuaRocks build - basic testing set", function()