use resty-cli for running lua unit tests
This commit is contained in:
parent
81848e6564
commit
5c18fc9595
3 changed files with 18 additions and 1 deletions
|
|
@ -18,4 +18,7 @@ set -o errexit
|
|||
set -o nounset
|
||||
set -o pipefail
|
||||
|
||||
busted ${BUSTED_ARGS} ./rootfs/etc/nginx/lua/test;
|
||||
export LUA_PATH="/usr/local/lib/lua/?.lua;;"
|
||||
export LUA_CPATH="/usr/local/lib/lua/?.so;/usr/lib/lua-platform-path/lua/5.1/?.so;;"
|
||||
|
||||
resty ./build/busted ${BUSTED_ARGS} ./rootfs/etc/nginx/lua/test;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue