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: all:
./util/mirror-tarballs ./util/mirror-tarballs
test: test: all
cp util/configure ngx_openresty-0.8.54.0/ prove -r t
cd ngx_openresty-0.8.54.0 && ./configure

View File

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