aboutsummaryrefslogtreecommitdiff
path: root/.busted
diff options
context:
space:
mode:
authorPeter Melnichenko <mpeterval@gmail.com>2016-07-08 13:36:24 +0300
committerPeter Melnichenko <mpeterval@gmail.com>2016-07-08 13:36:24 +0300
commit54cf8ad4d527b0585f364b3d6cbe2c9eae58c3da (patch)
tree9bc1946b2605353deae71aae71859227a2878e6c /.busted
parentfc7d6f7f6542c5eeef8d92ed717132caa45901c8 (diff)
downloadluarocks-54cf8ad4d527b0585f364b3d6cbe2c9eae58c3da.tar.gz
luarocks-54cf8ad4d527b0585f364b3d6cbe2c9eae58c3da.tar.bz2
luarocks-54cf8ad4d527b0585f364b3d6cbe2c9eae58c3da.zip
Test suite: use test/test_environment as busted helper
When parsing test options, instead of directly looking for '-Xhelper' in arguments and splitting the next arguments on commas add .busted config to set test/test_environment as busted helper. Then busted will do the splitting on its own and set global arg to split options.
Diffstat (limited to '.busted')
-rw-r--r--.busted5
1 files changed, 5 insertions, 0 deletions
diff --git a/.busted b/.busted
new file mode 100644
index 00000000..7c67e719
--- /dev/null
+++ b/.busted
@@ -0,0 +1,5 @@
1return {
2 default = {
3 helper = "test/test_environment"
4 }
5}