From 23f8304136363fe9847de958146332b8f514d44a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?agentzh=20=28=E7=AB=A0=E4=BA=A6=E6=98=A5=29?= Date: Mon, 7 Mar 2011 00:11:15 +0800 Subject: [PATCH] run the test suite in the right way. --- Makefile | 7 +++---- t/sanity.t | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index f7f8112..ec1b717 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/t/sanity.t b/t/sanity.t index d92a9b3..80571da 100644 --- a/t/sanity.t +++ b/t/sanity.t @@ -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";