tests: sanity.t: renamed to t/000-sanity.t and added '.' in lib path.
This commit is contained in:
parent
4995101388
commit
cc79822109
|
@ -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/
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -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 => 273;
|
plan tests => 273;
|
Loading…
Reference in New Issue