run the test suite in the right way.

This commit is contained in:
agentzh (章亦春) 2011-03-07 00:11:15 +08:00
parent 013d88601b
commit 23f8304136
2 changed files with 4 additions and 5 deletions

View File

@ -1,9 +1,8 @@
.PHONY: all
.PHONY: all test
all:
./util/mirror-tarballs
test:
cp util/configure ngx_openresty-0.8.54.0/
cd ngx_openresty-0.8.54.0 && ./configure
test: all
prove -r t

View File

@ -10,7 +10,7 @@ sub cd ($);
my $ver = `bash util/ver`;
chomp $ver;
shell "make";
#shell "make";
cd "ngx_openresty-$ver";
shell "./configure --help > help.txt";