tests: renamed t/sanity.t to t/000-sanity.t and added '.' in lib path.

pull/512/head
Thibault Charbonnier 6 years ago
parent 53dde2ec7b
commit 2a8e761a9f

@ -66,4 +66,4 @@ script:
- export PATH=$OPENRESTY_PREFIX/bin:$OPENRESTY_PREFIX/nginx/sbin:$PATH - export PATH=$OPENRESTY_PREFIX/bin:$OPENRESTY_PREFIX/nginx/sbin:$PATH
- nginx -V - nginx -V
- ldd `which nginx`|grep -E 'luajit|ssl|pcre' - ldd `which nginx`|grep -E 'luajit|ssl|pcre'
- prove -I. -r t/ - prove -r t/

@ -4,7 +4,7 @@ all:
./util/mirror-tarballs ./util/mirror-tarballs
test: test:
prove -I. -I../test-nginx/lib -r t prove -I../test-nginx/lib -r t
try-luajit: all try-luajit: all
cd openresty-`./util/ver` && ./configure --with-luajit cd openresty-`./util/ver` && ./configure --with-luajit

@ -1,5 +1,5 @@
# vi:ft= # vi:ft=
use lib '.';
use t::Config; use t::Config;
plan tests => 277; plan tests => 277;
Loading…
Cancel
Save