mirror of https://github.com/odrling/Aegisub
Ensure luarocks env variables are set for make-automation
This commit is contained in:
parent
85b356407f
commit
c49dd8bd96
|
@ -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
|
||||
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
require 'busted.runner'({ batch = true })
|
Loading…
Reference in New Issue