From: gfx Date: Mon, 28 Sep 2009 07:54:39 +0000 (+0900) Subject: Add distributions to author/test-externals.pl X-Git-Tag: 0.38~16 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=44945c483b194f2d55a9bbcbed628703329f0f42;p=gitmo%2FMouse.git Add distributions to author/test-externals.pl - MouseX-Types - HTTP-Engine-Middware - Object-Container - Data-Localize - AnyEvent-ReverseHTTP --- diff --git a/author/test-externals.pl b/author/test-externals.pl index 78c3c3c..576883d 100755 --- a/author/test-externals.pl +++ b/author/test-externals.pl @@ -4,10 +4,22 @@ use FindBin qw($Bin); use autodie; my %dist = ( - 'HTTP-Engine' => q{git://github.com/http-engine/HTTP-Engine.git}, - 'Ark' => q{git://github.com/typester/ark-perl.git}, + 'HTTP-Engine' => q{git://github.com/http-engine/HTTP-Engine.git}, + 'HTTP-Engine-Middleware' + => q{git://github.com/http-engine/HTTP-Engine-Middleware.git}, -# 'Any-Moose' => q{git://github.com/sartak/any-moose.git}, # has no Makefile.PL :( + 'Ark' => q{git://github.com/typester/ark-perl.git}, + 'Object-Container' + => q{git://github.com/typester/object-container-perl.git}, + + 'MouseX-Types' => q{git://github.com/yappo/p5-mousex-types.git}, + + 'Data-Localize' => q{git://github.com/lestrrat/Data-Localize.git}, + + 'AnyEvent-ReverseHTTP' + => q{git://github.com/miyagawa/AnyEvent-ReverseHTTP.git}, + + 'HTML-Shakan' => q{git://github.com/tokuhirom/html-shakan.git}, ); my $distdir = 'externals'; @@ -32,8 +44,11 @@ while(my($name, $repo) = each %dist){ } print "$^X Makefile.PL\n"; - system("$^X Makefile.PL"); + system("$^X Makefile.PL 2>&1 |tee ../$name.log"); + + print "make\n"; + system("make 2>&1 >>../$name.log"); print "make test\n"; - system "make test"; + system("make test 2>&1 |tee -a ../$name.log") }