diff options
Diffstat (limited to 'spec/build_spec.lua')
-rw-r--r-- | spec/build_spec.lua | 7 |
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 @@ | |||
1 | local test_env = require("test/test_environment") | 1 | local test_env = require("test/test_environment") |
2 | local lfs = require("lfs") | 2 | local lfs = require("lfs") |
3 | local run = test_env.run | ||
4 | local testing_paths = test_env.testing_paths | ||
3 | 5 | ||
4 | test_env.unload_luarocks() | 6 | test_env.unload_luarocks() |
5 | local build = require("luarocks.build") | ||
6 | 7 | ||
7 | local extra_rocks = { | 8 | local 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 | ||
29 | expose("LuaRocks build tests #blackbox #b_build", function() | 30 | describe("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() |