Ensure luarocks env variables are set for make-automation
This commit is contained in:
parent
85b356407f
commit
c49dd8bd96
2 changed files with 2 additions and 1 deletions
|
@ -19,7 +19,7 @@ aegisub-lua_LIBS := $(LIBS_WX) $(LIBS_BOOST) $(LIBS_ICU)
|
||||||
PROGRAM += $(d)aegisub-lua
|
PROGRAM += $(d)aegisub-lua
|
||||||
|
|
||||||
test-automation: $(PROGRAM)
|
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
|
test: test-automation
|
||||||
|
|
||||||
|
|
1
automation/tests/busted.lua
Normal file
1
automation/tests/busted.lua
Normal file
|
@ -0,0 +1 @@
|
||||||
|
require 'busted.runner'({ batch = true })
|
Loading…
Reference in a new issue