Ensure luarocks env variables are set for make-automation

This commit is contained in:
Thomas Goyne 2015-09-12 10:58:18 +02:00
parent 85b356407f
commit c49dd8bd96
2 changed files with 2 additions and 1 deletions

View File

@ -19,7 +19,7 @@ aegisub-lua_LIBS := $(LIBS_WX) $(LIBS_BOOST) $(LIBS_ICU)
PROGRAM += $(d)aegisub-lua
test-automation: $(PROGRAM)
cd $(TOP)automation; LUA=./aegisub-lua busted -p 'moon' tests/modules
eval `luarocks path`; cd $(TOP)automation; LUA=./aegisub-lua busted -p 'moon' tests/modules
test: test-automation

View File

@ -0,0 +1 @@
require 'busted.runner'({ batch = true })